Vulnerabilities · 2012 · Ruby-lang
CVE-2012-4481
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- rhn.redhat.com/errata/RHSA-2013-0129.html
- rhn.redhat.com/errata/RHSA-2013-0612.html
- www.mandriva.com/security/advisories?name=MDVSA-2013:124
- www.openwall.com/lists/oss-security/2012/10/05/4
- bugzilla.redhat.com/show_bug.cgi?id=863484
- wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294
- nvd.nist.gov/vuln/detail/CVE-2012-4481
- cve.org/CVERecord?id=CVE-2012-4481
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.