CVSS 3.1
7.2 highCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HHigh (7.2). EPSS 1.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExplain CVE-2023-27320 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-27320?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-27320?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-27320 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| sudo_project:sudo | from 1.9.8 before 1.9.13 |
| sudo_project:sudo | 1.9.13 |
| sudo_project:sudo | 1.9.13:p1 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| fedoraproject:fedora | 38 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | sudo | 1.9.13p3-1 | DEBIAN-CVE-2023-27320 |
| Ubuntu | 22.04:LTS | sudo | 1.9.9-1ubuntu2.3 | UBUNTU-CVE-2023-27320 USN-5908-1 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4 | sudo | 1.9.9-150400.4.26.1 | SUSE-SU-2023:1665-1 |
| openSUSE | Leap 15.4, Leap Micro 5.3 | sudo | 1.9.9-150400.4.26.1 | SUSE-SU-2023:1665-1 |
| openSUSE | Tumbleweed | sudo | 1.9.13p3-2.1 | openSUSE-SU-2024:12795-1 |
| Alpine | v3.17 | sudo | 1.9.12_p2-r1 | ALPINE-CVE-2023-27320 |
| Azure Linux | 2 | sudo | 1.9.13p3-1 | AZL-13784 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
The CHROOT support was only added in Sudo v1.9.3 and Sudo v1.9.8 included a fix for a memory leak in the set_cmnd_path() function, which can result in the "user_cmnd" variable being freed twice, but only when processing a sudoers rule that contains a "CHROOT" setting. This does not affect the "chroot" Defaults setting. Only a per-rule "CHROOT" setting will trigger the bug.
Hence, it only affects Sudo v1.9.8 through to 1.9.13p1.
Red Hat Enterprise Linux - 6, 7, 8, 9 are shipped with lower versions of Sudo that doesn't contains the vulnerable code. Thus, they are not affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | sudo | Not affected | |
| Red Hat Enterprise Linux 7 | sudo | Not affected | |
| Red Hat Enterprise Linux 8 | sudo | Not affected | |
| Red Hat Enterprise Linux 9 | sudo | Not affected |
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-27320.