CVE-2025-46718

sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the `-U` flag. This vulnerability allows users with limited sudo privileges to enumerate the sudoers file, revealing sensitive information about other users' permissions. Attackers can collect information that can be used to more targeted attacks. Systems where users either do not have sudo privileges or have the ability to run all commands as root through sudo (the default configuration on most systems) are not affected by this advisory. Version 0.2.6 fixes the vulnerability.
Configurations

Configuration 1 (hide)

cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*

History

09 Jul 2025, 01:45

Type Values Removed Values Added
CPE cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*
First Time Trifectatech sudo
Trifectatech
CWE NVD-CWE-noinfo
References () https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6 - () https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6 - Release Notes
References () https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r - () https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r - Exploit, Vendor Advisory
Summary
  • (es) sudo-rs es una implementación de memoria segura de sudo y su, escrita en Rust. Antes de la versión 0.2.6, los usuarios con privilegios de sudo limitados (por ejemplo, la ejecución de un solo comando) podían listar los privilegios de sudo de otros usuarios mediante la opción `-U`. Esta vulnerabilidad permite a los usuarios con privilegios de sudo limitados enumerar el archivo `sudoers`, revelando información confidencial sobre los permisos de otros usuarios. Los atacantes pueden recopilar información que puede utilizarse para ataques más específicos. Los sistemas donde los usuarios no tienen privilegios de sudo o pueden ejecutar todos los comandos como root mediante sudo (la configuración predeterminada en la mayoría de los sistemas) no se ven afectados por este aviso. La versión 0.2.6 corrige la vulnerabilidad.

12 May 2025, 22:15

Type Values Removed Values Added
References () https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r - () https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r -

12 May 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-12 15:16

Updated : 2025-07-09 01:45


NVD link : CVE-2025-46718

Mitre link : CVE-2025-46718

CVE.ORG link : CVE-2025-46718


JSON object : View

Products Affected

trifectatech

  • sudo
CWE
CWE-497

Exposure of Sensitive System Information to an Unauthorized Control Sphere

NVD-CWE-noinfo