CVE-2023-1523
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability in snapd (CVE-2023-1523) was discovered where a malicious snap could inject contents into the input of the controlling terminal, allowing arbitrary command execution outside of the snap sandbox after the snap exits. The vulnerability specifically affects snaps running on virtual consoles, while graphical terminal emulators like xterm and gnome-terminal are not affected (Ubuntu Security).

Technical details

The vulnerability stems from the snap sandbox not restricting the use of the ioctl system call with a TIOCLINUX request. This could be exploited by a malicious snap to inject commands into the controlling terminal which would then be executed outside of the snap sandbox once the snap had exited. The vulnerability has been assigned a CVSS 3.1 base score of 10.0 (Critical) (Ubuntu Security).

Impact

If successfully exploited, this vulnerability allows an attacker to execute arbitrary commands outside of the confined snap sandbox, effectively bypassing the sandbox security restrictions. The impact is particularly significant as it could lead to privilege escalation and unauthorized system access (Ubuntu Security Notice).

Mitigation and workarounds

The vulnerability has been fixed in multiple versions of snapd across different Ubuntu releases: 2.59.1+23.04ubuntu1.1 for Ubuntu 23.04, 2.58+22.10.1 for Ubuntu 22.10, 2.58+22.04.1 for Ubuntu 22.04 LTS, 2.58+20.04.1 for Ubuntu 20.04 LTS, 2.58+18.04.1 for Ubuntu 18.04 LTS, and 2.54.3+16.04.0ubuntu0.1~esm6 for Ubuntu 16.04 LTS. Users are advised to update their systems to these patched versions (Ubuntu Security Notice).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67858N/AN/A
  • Linux DebianLinux Debian
  • foomuuri
NoYesJan 08, 2026
CVE-2025-67603N/AN/A
  • Linux DebianLinux Debian
  • foomuuri
NoYesJan 08, 2026
CVE-2025-14017N/AN/A
  • cURLcURL
  • curl
NoYesJan 08, 2026
CVE-2025-15224N/AN/A
  • cURLcURL
  • curl
NoYesJan 06, 2026
CVE-2025-15079N/AN/A
  • cURLcURL
  • curl
NoYesJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management