CVE-2014-1638 Path traversal in n/a

Low 3.3 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks in localepurge due to unsafe temporary file handling.

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-2014-1638?

CVE-2014-1638 is a low-severity path traversal vulnerability in n/a, published on 28 Jan 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

(1) debian/postrm and (2) debian/localepurge.config in localepurge before 0.7.3.2 use tempfile to create a safe temporary file but appends a suffix to the original filename and writes to this new filename, which allows local users to overwrite arbitrary files via a symlink attack on the new filename.

Weakness: CWE-59

Which versions are affected by CVE-2014-1638?

It affects 1 product.

Products include Debian Localepurge.

How do I fix CVE-2014-1638?

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-2014-1638 being exploited?

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

Sources

Also known as DEBIAN-CVE-2014-1638, GHSA-4p47-3pw8-rc95.

Is CVE-2014-1638 in your software?

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

Check your SBOMs for free