CVE-2010-4651 Path traversal in n/a

Medium 5.8 Published Updated

Remote attackers can create or overwrite arbitrary files via directory traversal in GNU patch, requiring user assistance to apply a malicious patch.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2010-4651?

CVE-2010-4651 is a medium-severity path traversal vulnerability in n/a, published on 11 Mar 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows user-assisted remote attackers to create or overwrite arbitrary files via a filename that is specified with a .. (dot dot) or full pathname, a related issue to CVE-2010-1679.

Weakness: CWE-22

Which versions are affected by CVE-2010-4651?

It affects 1 product.

Products include Gnu Gnu Patch.

How do I fix CVE-2010-4651?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2010-4651 being exploited?

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

Sources

Also known as DEBIAN-CVE-2010-4651, ECHO-6244-3067-2f2a, GHSA-ghmh-8qx5-2gfp, ROOT-OS-DEBIAN-12-CVE-2010-4651.

Is CVE-2010-4651 in your software?

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

Check your SBOMs for free