1. Archivio CVE
  2. 2025
  3. CVE-2025-46718

CVE-2025-46718

3.3 Gravità bassa CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N 3.3 – Bassa

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
trifectatech sudo < 0.2.6 rust

Tipo di vulnerabilità

CWE-497 Esposizione di informazioni di sistema a soggetti non autorizzati

Il prodotto non impedisce che informazioni sensibili sul sistema siano accessibili a soggetti che non hanno lo stesso livello di accesso.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione · Sviluppo Production applications should never use methods that generate internal details such as stack traces and error messages unless that information is directly committed to a log that is not viewable by the end user. All error message text should be HTML entity encoded before being written to the log file to protect against potential cross-site scripting attacks against the viewer of the logs

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 446 CVE di tipo CWE-497, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org