Exposure of Sensitive System Information to an Unauthorized Control Sphere Affecting sudo-rs package, versions <0.2.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-SUDORS-10183406
  • published19 May 2025
  • disclosed12 May 2025
  • creditSonia Zorba

Introduced: 12 May 2025

NewCVE-2025-46718  (opens in a new tab)
CWE-497  (opens in a new tab)

How to fix?

Upgrade sudo-rs to version 0.2.6 or higher.

Overview

Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere due to the use of the -U flag. An attacker can collect sensitive information about other users' permissions by listing the sudoers file.

References

CVSS Base Scores

version 4.0
version 3.1