Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-c978-wq47-pvvw

Опубликовано: 12 нояб. 2025
Источник: github
Github: Прошло ревью
CVSS3: 3.8

Описание

sudo-rs: Partial password reveal is possible after timeout

Summary

If a user begins entering a password but does not press return for an extended period, a password timeout may occur. When this happens, the keystrokes that were entered are echoed back to the console.

Example

Using sudo-rs:

geiger@cerberus:~$ sudo -s [sudo: authenticate] Password: sudo-rs: timed out geiger@cerberus:~$ testtesttest

"testtesttest" was entered at the password prompt but not confirmed by pressing return and then waiting for the timeout.

Impact

This could reveal partial password information, possibly exposing history files when not carefully handled by the user and on screen, usable for Social Engineering or Pass-By attacks.

Versions affected

Passwords timeouts were added in sudo-rs 0.2.7 (with a default set to 5 minutes).

Credits

This issue was discovered and reported by @DevLaTron.

Пакеты

Наименование

sudo-rs

rust
Затронутые версииВерсия исправления

>= 0.2.7, < 0.2.10

0.2.10

EPSS

Процентиль: 4%
0.00018
Низкий

3.8 Low

CVSS3

Дефекты

CWE-549

Связанные уязвимости

CVSS3: 3.8
ubuntu
3 месяца назад

sudo-rs is a memory safe implementation of sudo and su written in Rust. Starting in version 0.2.7 and prior to version 0.2.10, if a user begins entering a password but does not press return for an extended period, a password timeout may occur. When this happens, the keystrokes that were entered are echoed back to the console. This could reveal partial password information, possibly exposing history files when not carefully handled by the user and on screen, usable for Social Engineering or Pass-By attacks. Version 0.2.10 fixes the issue.

CVSS3: 3.8
nvd
3 месяца назад

sudo-rs is a memory safe implementation of sudo and su written in Rust. Starting in version 0.2.7 and prior to version 0.2.10, if a user begins entering a password but does not press return for an extended period, a password timeout may occur. When this happens, the keystrokes that were entered are echoed back to the console. This could reveal partial password information, possibly exposing history files when not carefully handled by the user and on screen, usable for Social Engineering or Pass-By attacks. Version 0.2.10 fixes the issue.

CVSS3: 3.8
debian
3 месяца назад

sudo-rs is a memory safe implementation of sudo and su written in Rust ...

EPSS

Процентиль: 4%
0.00018
Низкий

3.8 Low

CVSS3

Дефекты

CWE-549