#VU39345 Input validation error in Ruby - CVE-2009-5147
Published: March 29, 2017 / Updated: August 8, 2020
Vulnerability identifier: #VU39345
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2009-5147
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Ruby
Ruby
Software vendor:
Ruby
Ruby
Description
The vulnerability allows a remote non-authenticated attacker to read and manipulate data.
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.
Remediation
Install update from vendor's website.
External links
- 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/