CVE-2011-4116 Path traversal in File::Temp

Low 3.3 Published Updated

Attackers can exploit symlink handling flaws in Perl's File::Temp module to overwrite arbitrary files or escalate privileges.

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-2011-4116?

CVE-2011-4116 is a low-severity path traversal vulnerability in File::Temp, published on 31 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

_is_safe in the File::Temp module for Perl does not properly handle symlinks.

Weakness: CWE-59

Which versions are affected by CVE-2011-4116?

It affects 1 product.

Products include Cpan File\.

How do I fix CVE-2011-4116?

Apply the vendor's patch.

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

Is CVE-2011-4116 being exploited?

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

Sources

Also known as DEBIAN-CVE-2011-4116, GHSA-grqm-6jmc-2h46, ROOT-OS-DEBIAN-12-CVE-2011-4116.

Is CVE-2011-4116 in your software?

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

Check your SBOMs for free