CVE-2012-0420 Path traversal in n/a

Medium 4.4 Published Updated

Local attackers can create files in arbitrary directories via the ZYPP_LOCKFILE_ROOT environment variable in SUSE Zypper.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-0420?

CVE-2012-0420 is a medium-severity path traversal vulnerability in n/a, published on 2 Dec 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

zypp-refresh-wrapper in SUSE Zypper before 1.3.20 and 1.6.x before 1.6.166 allows local users to create files in arbitrary directories, or possibly have unspecified other impact, via a pathname in the ZYPP_LOCKFILE_ROOT environment variable.

Which versions are affected by CVE-2012-0420?

It affects 1 product.

Products include Opensuse Zypper.

How do I fix CVE-2012-0420?

No fix has been published for CVE-2012-0420 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2012-0420 being exploited?

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

Sources

Also known as GHSA-4vcm-6cjx-2cx5.

Is CVE-2012-0420 in your software?

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

Check your SBOMs for free