cve.bz

CVE-2023-28486 Improper Encoding or Escaping of Output

5.3 mediumEPSS 0.9%Fix available

Medium (5.3). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
Sudo before 1.9.13 does not escape control characters in log messages.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28486 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28486?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28486?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28486 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sudo_project:sudobefore 1.9.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10sudo1.8.27-1+deb10u6DLA-3732-1
Debian11sudo1.9.5p2-3+deb11u3DLA-4472-1
Debian12, 13, 14sudo1.9.13p1-1DEBIAN-CVE-2023-28486
Ubuntu18.04:LTSsudo1.8.21p2-3ubuntu1.6UBUNTU-CVE-2023-28486 USN-6005-1
Ubuntu20.04:LTSsudo1.8.31-1ubuntu1.5UBUNTU-CVE-2023-28486 USN-6005-1
Ubuntu22.04:LTSsudo1.9.9-1ubuntu2.4UBUNTU-CVE-2023-28486 USN-6005-1
UbuntuPro:14.04:LTSsudono fix listedUBUNTU-CVE-2023-28486
UbuntuPro:16.04:LTSsudo1.8.16-0ubuntu1.10+esm2UBUNTU-CVE-2023-28486 USN-6005-2
Red Hatenterprise_linux:8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_9RHSA-2024:0811
Red Hatenterprise_linux:9::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-10.el9_3RHSA-2024:0811
Red Hatenterprise_linux:9::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-10.el9_3RHSA-2024:0811
Red Hatrhel_eus:8.6::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_6RHSA-2024:0811
Red Hatrhel_eus:8.8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_8RHSA-2024:0811
Red Hatrhel_eus:9.0::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-7.el9_0.4RHSA-2024:0811
Red Hatrhel_eus:9.0::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-7.el9_0.4RHSA-2024:0811
Red Hatrhel_eus:9.2::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-9.el9_2.2RHSA-2024:0811
Red Hatrhel_eus:9.2::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-9.el9_2.2RHSA-2024:0811
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 4 moresudo1.8.27-150000.4.43.1SUSE-SU-2023:1699-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 moresudo1.9.5p2-150300.3.24.1SUSE-SU-2023:1698-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4sudo1.9.9-150400.4.26.1SUSE-SU-2023:1665-1
SUSELinux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4 and 2 moresudo1.8.20p2-3.39.1SUSE-SU-2023:1700-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5sudo1.8.27-4.38.1SUSE-SU-2023:1659-1
openSUSELeap 15.4, Leap Micro 5.3sudo1.9.9-150400.4.26.1SUSE-SU-2023:1665-1
AlmaLinux9sudo, sudo-python-plugin1.9.5p2-10.el9_3ALSA-2024:0811
Alpaquita23sudo1.9.15_p5-r0BELL-CVE-2023-28486

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8sudo-0:1.9.5p2-1.el8_9Fixed 2024-02-14RHSA-2024:0811
Red Hat Enterprise Linux 8.6 Extended Update Supportsudo-0:1.9.5p2-1.el8_6Fixed 2024-02-14RHSA-2024:0811
Red Hat Enterprise Linux 8.8 Extended Update Supportsudo-0:1.9.5p2-1.el8_8Fixed 2024-02-14RHSA-2024:0811
Red Hat Enterprise Linux 9sudo-0:1.9.5p2-10.el9_3Fixed 2024-02-14RHSA-2024:0811
Red Hat Enterprise Linux 9.0 Extended Update Supportsudo-0:1.9.5p2-7.el9_0.4Fixed 2024-02-14RHSA-2024:0811
Red Hat Enterprise Linux 9.2 Extended Update Supportsudo-0:1.9.5p2-9.el9_2.2Fixed 2024-02-14RHSA-2024:0811
RHODF-4.15-RHEL-9odf4/cephcsi-rhel9:v4.15.0-37Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-core-rhel9:v4.15.0-68Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-rhel9-operator:v4.15.0-39Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-console-rhel9:v4.15.0-58Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-rhel9-operator:v4.15.0-13Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-metrics-exporter-rhel9:v4.15.0-81Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-rhel9-operator:v4.15.0-79Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/odf-cli-rhel9:v4.15.0-22Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/odf-console-rhel9:v4.15.0-57Fixed 2024-03-19RHSA-2024:1383
Red Hat Enterprise Linux 6sudoOut of support scope
Red Hat Enterprise Linux 7sudoOut of support scope
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28486.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON