Back to CVE catalog
CVE-2002-0184

Off-by-one error in sudo

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

7.8High
Published:
Updated:
EPSS:
1.199%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:sudo_projectsudoAffected versions:
< 1.6.6
Vendor:Debiandebian linuxAffected versions:
2.2

1–2 of 2 · Page 1 of 1

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd · Wazuh CTI (cna)7.8 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories18

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences