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-10183407
  • published19 May 2025
  • disclosed12 May 2025
  • creditMarc Schoolderman

Introduced: 12 May 2025

NewCVE-2025-46717  (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 through the sudo --list command. An attacker can discover the existence of files in directories they should not access by using this command with specific pathnames.

References

CVSS Base Scores

version 4.0
version 3.1