CVE-2011-5060 Path traversal in n/a

Low 3.3 Published Updated

Local attackers can overwrite files via predictable temporary directory names when another user extracts a PAR packed program.

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

What is CVE-2011-5060?

CVE-2011-5060 is a low-severity path traversal vulnerability in n/a, published on 13 Jan 2012. 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

The par_mktmpdir function in the PAR module before 1.003 for Perl creates temporary files in a directory with a predictable name without verifying ownership and permissions of this directory, which allows local users to overwrite files when another user extracts a PAR packed program, a different vulnerability in a different package than CVE-2011-4114.

Weakness: CWE-264

Which versions are affected by CVE-2011-5060?

It affects 1 product.

Products include Roderich Schupp Par-Packer Module.

How do I fix CVE-2011-5060?

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-2011-5060 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-5060, GHSA-hmhv-64cw-2g3m.

Is CVE-2011-5060 in your software?

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

Check your SBOMs for free