CVE-2012-2120 Path traversal in n/a

Low 3.3 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files when using specific options in latex2man.

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-2012-2120?

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

Official description

latex2man in texlive-extra-utils 2011.20120322, and possibly other versions or packages, when used with the H or T option, allows local users to overwrite arbitrary files via a symlink attack on a temporary file.

Weakness: CWE-264

Which versions are affected by CVE-2012-2120?

It affects 1 product.

Products include Debian Texlive-Extra-Utils.

How do I fix CVE-2012-2120?

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-2012-2120 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-2120, GHSA-gmwh-gwqv-v933.

Is CVE-2012-2120 in your software?

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

Check your SBOMs for free