CVE-2004-1772 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can execute arbitrary code via a stack-based buffer overflow in GNU sharutils by providing a long command line argument.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-1772?

CVE-2004-1772 is a medium-severity memory corruption vulnerability in n/a, published on 28 Mar 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o command line argument.

Which versions are affected by CVE-2004-1772?

It affects 1 product.

Products include Gnu Sharutils.

How do I fix CVE-2004-1772?

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-2004-1772 being exploited?

There is no known exploitation of CVE-2004-1772 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2004-1772, GHSA-c6qx-vg4x-8xrp.

Is CVE-2004-1772 in your software?

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

Check your SBOMs for free