CVE-2011-1005 Security feature bypass in n/a

Medium 5.0 Published Updated

Attackers can bypass Ruby's safe-level security feature to modify strings, potentially altering intended file paths.

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

What is CVE-2011-1005?

CVE-2011-1005 is a medium-severity vulnerability in Ruby-Lang Ruby, published on 2 Mar 2011.

Official description

The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#to_s method, as demonstrated by changing an intended pathname.

Weakness: CWE-264

Which versions are affected by CVE-2011-1005?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2011-1005?

Upgrade to a fixed version.

Is CVE-2011-1005 being exploited?

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

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-h2rc-3ppq-6pjg.

Is CVE-2011-1005 in your software?

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

Check your SBOMs for free