Bug 2174218 (CVE-2023-27320) - CVE-2023-27320 sudo: double free with per-command chroot sudoers rules
Summary: CVE-2023-27320 sudo: double free with per-command chroot sudoers rules
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2023-27320
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2174219
Blocks: 2174135
TreeView+ depends on / blocked
 
Reported: 2023-02-28 20:32 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-03-23 13:52 UTC (History)
3 users (show)

Fixed In Version: sudo 1.9.13p2
Doc Type: If docs needed, set a value
Doc Text:
A double-free vulnerability was found in Sudo in the per-command chroot feature. This flaw exists due to a boundary error when matching a sudoer rule that contains a per-command chroot directive (CHROOT=dir). By sending a specially-crafted request, a local privileged attacker can elevate privileges and execute arbitrary code on the system.
Clone Of:
Environment:
Last Closed: 2023-03-02 08:18:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-02-28 20:32:17 UTC
Sudo before 1.9.13p2 has a double free in the per-command chroot feature.

References:
https://www.sudo.ws/releases/stable/#1.9.13p2
https://www.openwall.com/lists/oss-security/2023/02/28/1

Comment 1 Guilherme de Almeida Suckevicz 2023-02-28 20:34:30 UTC
Created sudo tracking bugs for this issue:

Affects: fedora-all [bug 2174219]

Comment 2 Product Security DevOps Team 2023-03-02 08:18:38 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-27320


Note You need to log in before you can comment on or make changes to this bug.