7.8high

CVE-2002-01841 exploit

Sudo before 1.6.6 contains an off-by-one error that can result in a heap-based buffer overflow that may allow local users to gain root priv…

Published 24 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.2%
percentile 68%
Public exploits
1
Exploit-DB

Summary

Sudo before 1.6.6 contains an off-by-one error that can result in a heap-based buffer overflow that may allow local users to gain root privileges via special characters in the -p (prompt) argument, which are not properly expanded.

Exploit prediction (EPSS)

1.20% probability of exploitation in the next 30 days, higher than 68% of all scored CVEs.

Exploits and detections

  • EDB-21420 Sudo 1.6.x - Password Prompt Heap Overflow · local · 2001-11-01

CVSS scores

Assigned byVersionScoreVector
NVD3.17.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-131 Incorrect Calculation of Buffer Size

References

  • marc.info /?l=bugtraq&m=101975443619600&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • debian.org /security/2002/dsa-128 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • marc.info /?l=bugtraq&m=101979472822196&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • redhat.com /support/errata/RHSA-2002-071.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • kb.cert.org /vuls/id/820083 · third-party-advisory, x_refsource_CERT-VN, x_transferred
  • novell.com /linux/security/advisories/2002_014_sudo_txt.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • marc.info /?l=bugtraq&m=101974610509912&w=2 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • distro.conectiva.com.br /atualizacoes/?id=a&anuncio=000475 · vendor-advisory, x_refsource_CONECTIVA, x_transferred
  • iss.net /security_center/static/8936.php · vdb-entry, x_refsource_XF, x_transferred
  • securityfocus.com /bid/4593 · vdb-entry, x_refsource_BID, x_transferred
  • linuxsecurity.com /advisories/other_advisory-2040.html · vendor-advisory, x_refsource_ENGARDE, x_transferred
  • marc.info /?l=bugtraq&m=102010164413135&w=2 · vendor-advisory, x_refsource_TRUSTIX, mailing-list, x_refsource_BUGTRAQ, x_transferred
  • redhat.com /support/errata/RHSA-2002-072.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • linux-mandrake.com /en/security/2002/MDKSA-2002-028.php3 · vendor-advisory, x_refsource_MANDRAKE, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.