CVE-2023-27320 Use after free in n/a

High 7.2 Published Updated

A double free vulnerability in Sudo's chroot feature allows local attackers to execute arbitrary code and escalate privileges.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-27320?

CVE-2023-27320 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 28 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Sudo before 1.9.13p2 has a double free in the per-command chroot feature.

Weakness: CWE-415

Which versions are affected by CVE-2023-27320?

It affects 2 products.

Linux distribution packages (1)
sudo openSUSE:TumbleweedAll versions1.9.13p3-2.1

Products include Fedoraproject Fedora, Sudo Project Sudo.

How do I fix CVE-2023-27320?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-27320 being exploited?

There is no known exploitation of CVE-2023-27320 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-13784, DEBIAN-CVE-2023-27320, GHSA-w8wp-rv4w-h5pp, OESA-2023-1160, OESA-2023-1172, UBUNTU-CVE-2023-27320 and 2 more.

Is CVE-2023-27320 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free