Stack-based Buffer Overflow Affecting sudo-devel package, versions <0:1.8.23-4.el7_7.2


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.33% (71st 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-RHEL7-SUDODEVEL-8011964
  • published17 Sept 2024
  • disclosed30 Jan 2020

Introduced: 30 Jan 2020

CVE-2019-18634  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:7 sudo-devel to version 0:1.8.23-4.el7_7.2 or higher.
This issue was patched in RHSA-2020:0540.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sudo-devel package and not the sudo-devel package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1