sudo: Privilege escalation — GLSA 202507-01

Multiple vulnerabilities have been discovered in sudo, the worst of which could result in privilege escalation.

Affected packages

app-admin/sudo on all architectures
Affected versions < 1.9.17_p1
Unaffected versions >= 1.9.17_p1

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

Multiple vulnerabilities have been discovered in sudo. Please review the CVE identifiers referenced below for details.

Impact

An attacker can escalate privileges to root by providing a special argument to sudo's --chroot (which is used for chroot purposes). Please review the referenced CVE identifier for details.

Workaround

There is no known workaround at this time.

Resolution

All sudo users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-admin/sudo-1.9.17_p1"
 

References

Release date
July 01, 2025

Latest revision
July 01, 2025: 1

Severity
high

Exploitable
local and remote

Bugzilla entries