CVE-2012-4481
The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strings via the...
CVE-2012-4481 is a medium vulnerability (CVSS 4.3) in Ruby-lang Ruby, published May 2, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.94%, the 80th percentile. Fixed in ruby 0:1.8.5-27.el5.
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2012-4481- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-4481- Updated
- 2026-11-02
EUVDEUVD-2012-4410 No score
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.
- Record
EUVD-2012-4410- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gh65-6rxj-m8cc No score
The safe-level feature in Ruby 1.8.7 allows context-dependent attackers to modify strings via the...
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.
- Record
GHSA-gh65-6rxj-m8cc- Updated
- 2026-11-02
OSVBELL-CVE-2012-4481
4.3
CVE-2012-4481 does not affect BellSoft software
- Record
BELL-CVE-2012-4481- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rubyRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-develRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-modeRed Hat:enterprise_linux:5::client_workstation |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
rubyRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-debuginfoRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-docsRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-irbRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-libsRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-rdocRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
Show 52 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby-riRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-tcltkRed Hat:enterprise_linux:5::client |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
rubyRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-debuginfoRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-develRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-docsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-irbRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-libsRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-modeRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-rdocRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-riRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
ruby-tcltkRed Hat:enterprise_linux:5::server |
before 0:1.8.5-27.el5 | 0:1.8.5-27.el5 |
rubyRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-develRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-riRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::client |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
rubyRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-develRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-riRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::computenode |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
rubyRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-develRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-riRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::server |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
rubyRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-develRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-irbRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-libsRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-rdocRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-docsRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-riRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-staticRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
ruby-tcltkRed Hat:enterprise_linux:6::workstation |
before 0:1.8.7.352-10.el6_4 | 0:1.8.7.352-10.el6_4 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
rhn.redhat.com/errata/RHSA-2013-0612.html
openwall.com/lists/oss-security/2012/10/05/4
mandriva.com/security/advisories?name=MDVSA-2013:124
rhn.redhat.com/errata/RHSA-2013-0129.html
bugzilla.redhat.com/show_bug.cgi?id=863484
wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294
Show 21 moreShow less
nvd.nist.gov/vuln/detail/CVE-2012-4481
github.com/advisories/GHSA-gh65-6rxj-m8cc
docs.bell-sw.com/security/cves/CVE-2012-4481
access.redhat.com/errata/RHSA-2013:0129
access.redhat.com/security/updates/classification
rhn.redhat.com/errata/RHSA-2011-0909.html
bugzilla.redhat.com/show_bug.cgi?id=865940
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0129.json
access.redhat.com/security/cve/CVE-2012-4481
cve.org/CVERecord?id=CVE-2012-4481
access.redhat.com/security/cve/CVE-2012-4522
cve.org/CVERecord?id=CVE-2012-4522
nvd.nist.gov/vuln/detail/CVE-2012-4522
access.redhat.com/errata/RHSA-2013:0612
rhn.redhat.com/errata/RHSA-2011-0910.html
bugzilla.redhat.com/show_bug.cgi?id=914716
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0612.json
access.redhat.com/security/cve/CVE-2013-1821
cve.org/CVERecord?id=CVE-2013-1821
nvd.nist.gov/vuln/detail/CVE-2013-1821
ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22