CVE-2012-3518 Denial of service in n/a

Medium 5.0 Published Updated

Remote attackers can crash the Tor daemon via crafted vote or consensus documents due to improper handling of invalid flavor names.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-3518?

CVE-2012-3518 is a medium-severity denial of service vulnerability in Tor Tor, published on 26 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The networkstatus_parse_vote_from_string function in routerparse.c in Tor before 0.2.2.38 does not properly handle an invalid flavor name, which allows remote attackers to cause a denial of service (out-of-bounds read and daemon crash) via a crafted (1) vote document or (2) consensus document.

Weakness: CWE-119

Which versions are affected by CVE-2012-3518?

It affects 1 product.

Products include Tor Tor.

How do I fix CVE-2012-3518?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-3518 being exploited?

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

All Tor Tor vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-3518, GHSA-qcx3-c5rp-cj34.

Is CVE-2012-3518 in your software?

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

Check your SBOMs for free