
CVE catalog
CVE-2023-28487
sudo: CVE-2023-28487
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.95% · Oct 25, 2026
A flaw was found in the sudo package, shipped with Red Hat Enterprise Linux 8 and 9, where the "sudoreplay -l' command improperly escapes terminal control characters. As sudo's log messages may contain user-controlled strings, this could allow an attacker to inject terminal control commands, leading to a leak of restricted information. sudo: Sudo does not escape control characters in sudoreplay output The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sudo | sid | 1.9.17p2-9 | fixed |
| Debian | sudo | forky | 1.9.17p2-9 | fixed |
| Debian | sudo | trixie | 1.9.16p2-3+deb13u2 | fixed |
| Debian | sudo | bookworm | 1.9.13p3-1+deb12u4 | fixed |
| Debian | sudo | bookworm-security | 1.9.13p3-1+deb12u2 | fixed |
| Ubuntu | sudo | pro | 1.8.12-1ubuntu3 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.1 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.2 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.3 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.4 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.5 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.6 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.7 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.8 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.9 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.10 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.10+esm1 | vulnerable |
| Ubuntu | sudo | pro | 1.8.16-0ubuntu1.10+esm2 | fixed |
| Ubuntu | sudo | 18.04 | 1.8.20p2-1ubuntu1 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-2ubuntu1 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1.1 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1.2 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1.3 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1.4 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1.5 | vulnerable |
| Ubuntu | sudo | 18.04 | 1.8.21p2-3ubuntu1.6 | fixed |
| Ubuntu | sudo | 20.04 | 1.8.27-1ubuntu4 | vulnerable |
| Ubuntu | sudo | 20.04 | 1.8.29-1ubuntu1 | vulnerable |
| Ubuntu | sudo | 20.04 | 1.8.31-1ubuntu1 | vulnerable |
| Ubuntu | sudo | 20.04 | 1.8.31-1ubuntu1.1 | vulnerable |
| Ubuntu | sudo | 20.04 | 1.8.31-1ubuntu1.2 | vulnerable |
| Ubuntu | sudo | 20.04 | 1.8.31-1ubuntu1.4 | vulnerable |
| Ubuntu | sudo | 20.04 | 1.8.31-1ubuntu1.5 | fixed |
| Ubuntu | sudo | 22.04 | 1.9.5p2-3ubuntu2 | vulnerable |
| Ubuntu | sudo | 22.04 | 1.9.9-1ubuntu2 | vulnerable |
| Ubuntu | sudo | 22.04 | 1.9.9-1ubuntu2.1 | vulnerable |
| Ubuntu | sudo | 22.04 | 1.9.9-1ubuntu2.2 | vulnerable |
| Ubuntu | sudo | 22.04 | 1.9.9-1ubuntu2.3 | vulnerable |
| Ubuntu | sudo | 22.04 | 1.9.9-1ubuntu2.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sudo | source | sid | 1.9.13p1-1 | not yet assigned | Not reported | Not reported |
| Debian | sudo | source | forky | 1.9.13p1-1 | not yet assigned | Not reported | Not reported |
| Debian | sudo | source | trixie | 1.9.13p1-1 | not yet assigned | Not reported | Not reported |
| Debian | sudo | source | bookworm | 1.9.13p1-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | sudo | deb | pro | 1.8.16-0ubuntu1.10+esm2 | Not reported | UBUNTU-CVE-2023-28487 | Not reported |
| Ubuntu | sudo | deb | 18.04 | 1.8.21p2-3ubuntu1.6 | Not reported | UBUNTU-CVE-2023-28487 | Not reported |
| Ubuntu | sudo | deb | 20.04 | 1.8.31-1ubuntu1.5 | Not reported | UBUNTU-CVE-2023-28487 | Not reported |
| Ubuntu | sudo | deb | 22.04 | 1.9.9-1ubuntu2.4 | Not reported | UBUNTU-CVE-2023-28487 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2024:0811]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-806742.json]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_1659-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-28487]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-28487]
- [https://security-tracker.debian.org/tracker/CVE-2023-28487]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0794.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]