CVE-2012-4464 Security feature bypass in n/a

Medium 5.0 Published Updated

Attackers can bypass Ruby safe-level restrictions to modify untainted strings via specific API functions, potentially compromising application integrity.

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

What is CVE-2012-4464?

CVE-2012-4464 is a medium-severity vulnerability in Ruby-Lang Ruby, published on 25 Apr 2013.

Official description

Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the (1) exc_to_s or (2) name_err_to_s API function, which marks the string as tainted, a different vulnerability than CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005 regression.

Weakness: CWE-264

Which versions are affected by CVE-2012-4464?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2012-4464?

Upgrade to a fixed version.

Is CVE-2012-4464 being exploited?

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

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-gjcp-rx5c-g849.

Is CVE-2012-4464 in your software?

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

Check your SBOMs for free