CVE-2012-4481

CVE-2012-4481 is a medium-severity vulnerability in Ruby-lang Ruby with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.

Key facts

Description

The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strings via the NameError#to_s method when operating on Ruby objects. NOTE: this issue is due to an incomplete fix for CVE-2011-1005.

Frequently asked questions

What is CVE-2012-4481?
The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strings via the NameError#to_s method when operating on Ruby objects. NOTE: this issue is due to an incomplete fix for CVE-2011-1005.
How severe is CVE-2012-4481?
CVE-2012-4481 has a CVSS 2.0 base score of 4.3, rated medium severity.
Is CVE-2012-4481 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (78th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-4481?
CVE-2012-4481 affects Ruby-lang Ruby. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2012-4481?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-4481 published?
CVE-2012-4481 was published on 2013-05-02 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Ruby-lang Ruby

All CVEs affecting Ruby-lang Ruby →

Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities

Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →