Input validation error in Ruby - CVE-2009-5147

 

Input validation error in Ruby - CVE-2009-5147

Published: March 29, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU39345
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2009-5147
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Ruby
Fedora
ruby
rh-ruby22-ruby (Red Hat package)

How to mitigate CVE-2009-5147

Install update from vendor's website.

ruby - addressed in versions 2.2.4-47.fc22, 2.2.4-47.fc23
rh-ruby22-ruby (Red Hat package) - addressed in versions 2.2.9-19.el6, 2.2.9-19.el7

External References

Related Security Bulletins