Skip to content
Fencer Vulns
medium 5.3

CVE-2023-28487 json

Sudo before 1.9.13 does not escape control characters in sudoreplay output.

published 2023-03-16 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-32157

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

Summary

Sudo before 1.9.13 does not escape control characters in sudoreplay output.

Patch / fix

  • sudo_project sudo 1.9.13
  • sudo Debian 14, Debian 13, Debian 12 1.9.13p1-1

debian advisories DEBIAN-CVE-2023-28487

  • sudo Ubuntu 18.04 LTS 1.8.21p2-3ubuntu1.6
  • sudo Ubuntu 20.04 LTS 1.8.31-1ubuntu1.5
  • sudo Ubuntu 22.04 LTS 1.9.9-1ubuntu2.4
  • sudo Ubuntu Pro 16.04 LTS 1.8.16-0ubuntu1.10+esm2

ubuntu advisories UBUNTU-CVE-2023-28487

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sudo RHEL 8 1.9.5p2-1.el8_9
  • sudo RHEL 9 1.9.5p2-10.el9_3
  • sudo-python-plugin RHEL 9 1.9.5p2-10.el9_3
  • sudo RHEL 8.6 EUS 1.9.5p2-1.el8_6
  • sudo RHEL 8.8 EUS 1.9.5p2-1.el8_8
  • sudo RHEL 9.0 EUS 1.9.5p2-7.el9_0.4
  • sudo RHEL 9.2 EUS 1.9.5p2-9.el9_2.2
  • sudo-python-plugin RHEL 9.0 EUS 1.9.5p2-7.el9_0.4

red hat advisories RHSA-2024:0811

  • sudo SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLES 12 SP4-ESPOS +2 more 1.8.20p2-3.39.1
  • sudo SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +4 more 1.8.27-150000.4.43.1
  • sudo SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +7 more 1.9.5p2-150300.3.24.1
  • sudo SLE Module for Basesystem 15 SP4, SLE Micro 5.4, SLE Micro 5.3 +2 more 1.9.9-150400.4.26.1
  • sudo SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.27-4.38.1

suse advisories SUSE-SU-2023:1700-1SUSE-SU-2023:1699-1SUSE-SU-2023:1698-1SUSE-SU-2023:1665-1SUSE-SU-2023:1659-1

  • sudo AlmaLinux 9 1.9.5p2-10.el9_3
  • sudo-python-plugin AlmaLinux 9 1.9.5p2-10.el9_3

almalinux advisories ALSA-2024:0811

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-28487 updated cvss 5.3

sudo: Sudo does not escape control characters in sudoreplay output

  • Red Hat Enterprise Linux 6 sudo Red Hat Enterprise Linux 7 sudo
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) sudo-python-plugin 1.9.5p2-10.el9_3 Red Hat Enterprise Linux AppStream EUS (v.9.0) sudo-python-plugin 1.9.5p2-7.el9_0.4 Red Hat Enterprise Linux AppStream EUS (v.9.2) sudo-python-plugin 1.9.5p2-9.el9_2.2 Red Hat Enterprise Linux BaseOS (v. 8) sudo 1.9.5p2-1.el8_9 Red Hat Enterprise Linux BaseOS (v. 9) sudo 1.9.5p2-10.el9_3 Red Hat Enterprise Linux BaseOS EUS (v.8.6) sudo 1.9.5p2-1.el8_6
    +3 more products
    Red Hat Enterprise Linux BaseOS EUS (v.8.8) sudo 1.9.5p2-1.el8_8 Red Hat Enterprise Linux BaseOS EUS (v.9.0) sudo 1.9.5p2-7.el9_0.4 Red Hat Enterprise Linux BaseOS EUS (v.9.2) sudo 1.9.5p2-9.el9_2.2
    fixed: vendor fix RHSA-2024:0811
  • Red Hat RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9 v4.15.0-37, odf4/odf-cli-rhel9 v4.15.0-22, odf4/mcg-core-rhel9 v4.15.0-68, odf4/odf-console-rhel9 v4.15.0-57, odf4/mcg-rhel9-operator v4.15.0-39, odf4/ocs-rhel9-operator v4.15.0-79, +20 more
    fixed: vendor fix RHSA-2024:1383

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-046-11 updated cvss 5.3

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

0.95% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

Weakness
  • CWE-116 Improper Encoding or Escaping of Output

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.