cve.bz

CVE-2023-42465 sudo project sudo

7.0 highExploit referenceEPSS 0.6%Fix available

High (7.0) in sudo project sudo. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
Sudo before 1.9.15 might allow row hammer attacks (for authentication bypass or privilege escalation) because application logic sometimes is based on not equaling an error value (instead of equaling a success value), and because the values do not resist flips of a single bit.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
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-42465 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42465?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42465?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-42465 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.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12sudono fix listedDEBIAN-CVE-2023-42465
Debian13, 14sudo1.9.15p2-2DEBIAN-CVE-2023-42465
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.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 moresudo1.9.5p2-150300.3.33.1SUSE-SU-2024:0834-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2sudo1.8.27-150000.4.53.1SUSE-SU-2024:0889-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moresudo1.9.9-150400.4.36.1SUSE-SU-2024:0877-1
SUSELinux Enterprise Micro 5.5sudo1.9.12p1-150500.7.10.1SUSE-SU-2024:0876-2
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5sudo1.9.12p1-150500.7.10.1SUSE-SU-2024:0876-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5sudo1.8.27-4.48.2SUSE-SU-2024:0890-1
openSUSELeap 15.5sudo1.9.12p1-150500.7.10.1SUSE-SU-2024:0876-1
openSUSELeap Micro 5.3, Leap Micro 5.4sudo1.9.9-150400.4.36.1SUSE-SU-2024:0877-1
openSUSETumbleweedsudo1.9.15p2-1.1openSUSE-SU-2024:13490-1
AlmaLinux9sudo, sudo-python-plugin1.9.5p2-10.el9_3ALSA-2024:0811
Azure Linux2sudo1.9.15p5-1AZL-32227
Alpaquita23sudo1.9.15_p5-r0BELL-CVE-2023-42465
Alpaquitastreamsudo1.9.15-r0BELL-CVE-2023-42465

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

"Mayhem" is a potent attack technique that focuses on the core components of computing systems, specifically the CPU internals and stack variables. This method signifies a noteworthy advancement in cyber threats, demonstrating a successful ability to tamper with a computer's memory and compromise both stack and register variables. Capitalizing on the well-known Rowhammer effect, wherein swift access to a DRAM row induces bit flips in neighboring rows, this clever attack exploits these bit flips to disrupt stack variables and manipulate register values within a given process. The manipulation is accomplished by targeting register values stored in the process's stack, which, once flushed out to memory, become vulnerable to Rowhammer attacks. When reloaded, these corrupted values cause chaos, compromising the integrity of the entire process. It's important to note that this attack is confined to the local system, leading us to categorize it as a moderate threat.

Red Hat's mitigation

In general to address this issue, it's crucial to implement robust logic that prevents unintended execution from a single-bit flip.

But mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

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-42465.

References

Check your stackJSON