CVE-2003-0620 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can exploit buffer overflows in setuid man-db to gain elevated privileges via crafted environment variables or arguments.

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

What is CVE-2003-0620?

CVE-2003-0620 is a medium-severity memory corruption vulnerability in n/a, published on 1 Aug 2003. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users to gain privileges via (1) MANDATORY_MANPATH, MANPATH_MAP, and MANDB_MAP arguments to add_to_dirlist in manp.c, (2) a long pathname to ult_src in ult_src.c, (3) a long .so argument to test_for_include in ult_src.c, (4) a long MANPATH environment variable, or (5) a long PATH environment variable.

Which versions are affected by CVE-2003-0620?

It affects 1 product.

Products include Andries Brouwer Man.

How do I fix CVE-2003-0620?

Upgrade to a fixed version.

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

Is CVE-2003-0620 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2003-0620, GHSA-57q8-53w4-9h6q.

Is CVE-2003-0620 in your software?

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

Check your SBOMs for free