CVE-2023-28486
published 2023-03-16CVE-2023-28486: Sudo before 1.9.13 does not escape control characters in log messages.
PriorityP425medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
0.92%
56.4th percentile
Sudo before 1.9.13 does not escape control characters in log messages.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | sudo | < sudo 1.9.13p1-1 (bookworm) | sudo 1.9.13p1-1 (bookworm) |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_sudo_1.9.13p3-1_on_cbl_mariner_1.0 | — | — |
| sudo_project | sudo | < 1.9.13 | 1.9.13 |
| sudo_project | sudo | >= 0 < 1.9.5p2-3+deb11u3 | 1.9.5p2-3+deb11u3 |
| sudo_project | sudo | >= 0 < 1.9.13p1-1 | 1.9.13p1-1 |
| sudo_project | sudo | >= 0 < 1.9.13p1-1 | 1.9.13p1-1 |
| sudo_project | sudo | >= 0 < 1.9.13p1-1 | 1.9.13p1-1 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Sudo vulnerabilities
vendor_ubuntu·2023-05-29
CVE-2023-28486 Sudo vulnerabilities
Title: Sudo vulnerabilities
Summary: Several security issues were fixed in Sudo.
USN-6005-1 fixed vulnerabilities in Sudo. This update
provides the corresponding updates for Ubuntu 16.04 LTS.
Original advisory details:
Matthieu Barjole and Victor Cutillas discovered that Sudo incorrectly
escaped control characters in log messages and sudoreplay output. An
attacker could possibly use these issues to inject terminal control
characters that alter output when being viewed.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Sudo vulnerabilities
vendor_ubuntu·2023-04-11
CVE-2023-28486 Sudo vulnerabilities
Title: Sudo vulnerabilities
Summary: Several security issues were fixed in Sudo.
Matthieu Barjole and Victor Cutillas discovered that Sudo incorrectly
escaped control characters in log messages and sudoreplay output. An
attacker could possibly use these issues to inject terminal control
characters that alter output when being viewed.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
sudo: Sudo does not escape control characters in log messages
vendor_redhat·2023-03-16·CVSS 5.3
CVE-2023-28486 [MEDIUM] CWE-117 sudo: Sudo does not escape control characters in log messages
sudo: Sudo does not escape control characters in log messages
Sudo before 1.9.13 does not escape control characters in log messages.
A flaw was found in the sudo package, shipped with Red Hat Enterprise Linux 8 and 9, where sudo improperly escapes terminal control characters during logging operations. As sudo's log messages may contain user-controlled strings, this may allow an attacker to inject terminal control commands, leading to a leak of restricted information.
Package: sudo (Red Hat Enterprise Linux 6) - Out of support scope
Package: sudo (Red Hat Enterprise Linux 7) - Out of support scope
Microsoft
Sudo before 1.9.13 does not escape control characters in log messages.
vendor_msrc·2023-03-14·CVSS 5.3
CVE-2023-28486 [MEDIUM] CWE-116 Sudo before 1.9.13 does not escape control characters in log messages.
Sudo before 1.9.13 does not escape control characters in log messages.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference
Debian
CVE-2023-28486: sudo - Sudo before 1.9.13 does not escape control characters in log messages.
vendor_debian·2023·CVSS 5.3
CVE-2023-28486 [MEDIUM] CVE-2023-28486: sudo - Sudo before 1.9.13 does not escape control characters in log messages.
Sudo before 1.9.13 does not escape control characters in log messages.
Scope: local
bookworm: resolved (fixed in 1.9.13p1-1)
bullseye: resolved (fixed in 1.9.5p2-3+deb11u3)
forky: resolved (fixed in 1.9.13p1-1)
sid: resolved (fixed in 1.9.13p1-1)
trixie: resolved (fixed in 1.9.13p1-1)
GHSA
GHSA-pr34-r4f9-f5c6: Sudo before 1
ghsa_unreviewed·2023-03-16
CVE-2023-28486 [MEDIUM] CWE-116 GHSA-pr34-r4f9-f5c6: Sudo before 1
Sudo before 1.9.13 does not escape control characters in log messages.
OSV
CVE-2023-28486: Sudo before 1
osv·2023-03-16·CVSS 5.3
CVE-2023-28486 [MEDIUM] CVE-2023-28486: Sudo before 1
Sudo before 1.9.13 does not escape control characters in log messages.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/sudo-project/sudo/commit/334daf92b31b79ce68ed75e2ee14fca265f029cahttps://github.com/sudo-project/sudo/releases/tag/SUDO_1_9_13https://lists.debian.org/debian-lts-announce/2024/02/msg00002.htmlhttps://security.gentoo.org/glsa/202309-12https://security.netapp.com/advisory/ntap-20230420-0002/https://github.com/sudo-project/sudo/commit/334daf92b31b79ce68ed75e2ee14fca265f029cahttps://github.com/sudo-project/sudo/releases/tag/SUDO_1_9_13https://lists.debian.org/debian-lts-announce/2024/02/msg00002.htmlhttps://security.gentoo.org/glsa/202309-12https://security.netapp.com/advisory/ntap-20230420-0002/
2023-03-16
Published