CVE-2012-5580 Code injection in n/a

High 7.5 Published Updated

A format string vulnerability in libproxy allows attackers to cause crashes or execute arbitrary code via malicious proxy names in environment variables or PAC files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-5580?

CVE-2012-5580 is a high-severity code injection vulnerability in n/a, published on 27 Oct 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Format string vulnerability in the print_proxies function in bin/proxy.c in libproxy 0.3.1 might allow context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via format string specifiers in a proxy name, as demonstrated using the http_proxy environment variable or a PAC file.

Weakness: CWE-94

Which versions are affected by CVE-2012-5580?

It affects 1 product.

Products include Libproxy Project Libproxy.

How do I fix CVE-2012-5580?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2012-5580 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-5580, GHSA-mccr-h554-3wjw.

Is CVE-2012-5580 in your software?

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

Check your SBOMs for free