CVE-2012-4481
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.9% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 1.9% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- ruby-lang Ruby 1.8.7
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4481.md and follow it. Check whether this project is affected by CVE-2012-4481. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://rhn.redhat.com/errata/RHSA-2013-0129.html
- http://rhn.redhat.com/errata/RHSA-2013-0612.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2012/10/05/4
- https://bugzilla.redhat.com/show_bug.cgi?id=863484
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294
- http://rhn.redhat.com/errata/RHSA-2013-0129.html
- http://rhn.redhat.com/errata/RHSA-2013-0612.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2012/10/05/4
- https://bugzilla.redhat.com/show_bug.cgi?id=863484
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294