CVE-2011-1920 Path traversal in n/a

Low 3.3 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files in NetBSD make include files.

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-1920?

CVE-2011-1920 is a low-severity path traversal vulnerability in Netbsd Netbsd, published on 23 May 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The make include files in NetBSD before 1.6.2, as used in pmake 1.111 and other products, allow local users to overwrite arbitrary files via a symlink attack on a /tmp/_depend##### temporary file, related to (1) bsd.lib.mk and (2) bsd.prog.mk.

Weakness: CWE-59

Which versions are affected by CVE-2011-1920?

It affects 2 products.

Products include Ihji Pmake, Netbsd Netbsd.

How do I fix CVE-2011-1920?

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-1920 being exploited?

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

Sources

Also known as GHSA-6v7q-gh5p-vgqc, MGASA-2013-0331.

Is CVE-2011-1920 in your software?

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

Check your SBOMs for free