CVEfocus › CVE database › CVE-2012-4481

CVE-2012-4481

EPSS 1.9% (higher than 81% of CVEs)Published 2013-05-02Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 6rubyFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-develFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-docsFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-irbFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-libsFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-rdocFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-riFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-staticFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 6ruby-tcltkFixed0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat Enterprise Linux 5rubyFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-develFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-docsFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-irbFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-libsFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-modeFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-rdocFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-riFixed0:1.8.5-27.el5RHSA-2013:0129
Red Hat Enterprise Linux 5ruby-tcltkFixed0:1.8.5-27.el5RHSA-2013:0129

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.