CVE-2002-0184 Memory corruption in n/a

High 7.8 Published Updated

Local attackers can gain root privileges via a heap-based buffer overflow in Sudo caused by improper handling of special characters in the prompt argument.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2002-0184?

CVE-2002-0184 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 2 Apr 2003. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-131

Which versions are affected by CVE-2002-0184?

It affects 2 products.

Products include Debian Debian Linux, Sudo Project Sudo.

How do I fix CVE-2002-0184?

No fix has been published for CVE-2002-0184 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2002-0184 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-0184 exists.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-vv6h-2fw3-xm26.

Is CVE-2002-0184 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free