CVE-2019-18634

high
Published 2020-02-14 ยท Modified 2020-02-14
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
9.0

Description

In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.

Predictions

Exploit likelihood
55%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-47995 dos linux
Joe Vennix ยท 2020-02-04

Sudo 1.8.25p - 'pwfeedback' Buffer Overflow (PoC)

Source code queued for fetch โ€” refresh in a moment.
EDB-48052 local linux
Dylan Katz ยท 2020-02-06

Sudo 1.8.25p - 'pwfeedback' Buffer Overflow

Source code queued for fetch โ€” refresh in a moment.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 1.8.31-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1.8.31-1
sid Fixed 1.8.31-1
forky Fixed 1.8.31-1
bullseye Fixed 1.8.31-1
bookworm Fixed 1.8.31-1
redhat Red Hat Fixed 1 release
VersionStatusFixed in
8 Fixed โ€”

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.