CVE-2009-5147
What it is
DL::dlopen in Ruby 1.8, 1.9.0, 1.9.2, 1.9.3, 2.0.0 before patchlevel 648, and 2.1 before 2.1.8 opens libraries with tainted names.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 7.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
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: 7.8% in the next 30 days (EPSS).
- Severity: 7.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 7.8% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- ruby-lang Ruby 1.8.0
- ruby-lang Ruby 1.9.0
- ruby-lang Ruby 1.9.2
- ruby-lang Ruby 1.9.3
- ruby-lang Ruby 2.0.0
- ruby-lang Ruby 2.1.0
- ruby-lang Ruby 2.1.1
- ruby-lang Ruby 2.1.2
Attack profile CVSS 3.0 · 7.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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-2009-5147.md and follow it. Check whether this project is affected by CVE-2009-5147. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://seclists.org/oss-sec/2015/q3/222
- https://bugzilla.redhat.com/show_bug.cgi?id=1248935
- https://github.com/ruby/ruby/commit/4600cf725a86ce31266153647ae5aa1197b1215b
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
- http://seclists.org/oss-sec/2015/q3/222
- https://bugzilla.redhat.com/show_bug.cgi?id=1248935
- https://github.com/ruby/ruby/commit/4600cf725a86ce31266153647ae5aa1197b1215b
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
References
- http://seclists.org/oss-sec/2015/q3/222
- http://www.securityfocus.com/bid/76060
- https://access.redhat.com/errata/RHSA-2018:0583
- https://bugzilla.redhat.com/show_bug.cgi?id=1248935
- https://github.com/ruby/ruby/commit/4600cf725a86ce31266153647ae5aa1197b1215b
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
- http://seclists.org/oss-sec/2015/q3/222
- http://www.securityfocus.com/bid/76060
- https://access.redhat.com/errata/RHSA-2018:0583
- https://bugzilla.redhat.com/show_bug.cgi?id=1248935
- https://github.com/ruby/ruby/commit/4600cf725a86ce31266153647ae5aa1197b1215b
- https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/