CVE-2009-5147 json
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.
published 9y ago modified 4mo ago also EUVD-2009-5101
- cvss
- 7.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.8%
- EPSS 7.8% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ruby1.9.1 Ubuntu 14.04 LTS 1.9.3.484-2ubuntu1.3
ubuntu advisories UBUNTU-CVE-2009-5147
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ruby4.0 hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
- ruby3.3 hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1
red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2018:0583
- ruby19 Studio Onsite 1.3 1.9.3.p392-0.23.1
suse advisories SUSE-SU-2015:1889-1
- github.com/ruby/ruby@4600cf7 commit
- seclists.org/oss-sec/2015/q3/222 advisory
- bugzilla.redhat.com/show_bug.cgi?id=1248935 advisory
Is CVE-2009-5147 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-5147 updated cvss 2.6
ruby: dlopen could open a library with tainted library name
-
Red Hat CloudForms Management Engine 5 ruby193-ruby Red Hat Enterprise Linux 4 ruby Red Hat Enterprise Linux 5 ruby Red Hat Enterprise Linux 6 ruby, ruby-ri, ruby-irb, ruby-libs, ruby-rdoc, ruby-tcltk Red Hat Enterprise Linux 7 ruby, ruby-irb, rubygems, ruby-libs, ruby-tcltk, rubygem-json, +6 more Red Hat Software Collections ruby193-ruby, ruby200-ruby, rh-ruby22-ruby, ruby193-ruby-irb, ruby193-rubygems, ruby200-ruby-irb, +31 moreaffected: no fix planned “Will not fix”
+1 more productsfewer
Red Hat Subscription Asset Manager ruby193-ruby -
Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-libs 3.4.8-31.1.hum1, ruby4.0-libs 4.0.0-33.3.hum1, ruby3.3-libs 3.3.10-23.1.hum1, +6 morefixed: vendor fix RHSA-2026:7305
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby22-ruby-libs 2.2.9-19.el6, rh-ruby22-ruby-tcltk 2.2.9-19.el6, rh-ruby22-rubygems 2.4.5.4-19.el6, rh-ruby22-rubygem-rdoc 4.2.0-19.el6, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby22-ruby-libs 2.2.9-19.el6, rh-ruby22-ruby-tcltk 2.2.9-19.el6, rh-ruby22-rubygems 2.4.5.4-19.el6, rh-ruby22-rubygem-rdoc 4.2.0-19.el6, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby22-ruby 2.2.9-19.el6, rh-ruby22-ruby-irb 2.2.9-19.el6, rh-ruby22-ruby-libs 2.2.9-19.el6, rh-ruby22-ruby-tcltk 2.2.9-19.el6, rh-ruby22-rubygems 2.4.5.4-19.el6, rh-ruby22-rubygem-rdoc 4.2.0-19.el6, +8 morefixed: vendor fix RHSA-2018:0583
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby22-ruby 2.2.9-19.el7, rh-ruby22-ruby-irb 2.2.9-19.el7, rh-ruby22-ruby-libs 2.2.9-19.el7, rh-ruby22-ruby-tcltk 2.2.9-19.el7, rh-ruby22-rubygems 2.4.5.4-19.el7, rh-ruby22-rubygem-rdoc 4.2.0-19.el7, +8 more -
Red Hat Hardened Images rubygem3.3-rbs 3.4.0-23.1.hum1, rubygem3.3-rss 0.3.1-23.1.hum1, rubygem3.4-rbs 3.8.0-31.1.hum1, rubygem3.4-rss 0.3.1-31.1.hum1, rubygem4.0-rss 0.3.2-33.3.hum1, rubygem3.3-irb 1.13.1-23.1.hum1, +45 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.83% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/ruby/ruby/commit/4600cf725a86ce31266153647ae5aa1197b1215b
patch, third-party-advisory
-
seclists.org
/oss-sec/2015/q3/222
mailing-list, patch, third-party-advisory, vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=1248935
issue-tracking, patch, third-party-advisory, vdb-entry
-
access.redhat.com
/errata/RHSA-2018:0583
vendor-advisory
-
ruby-lang.org
/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/
vendor-advisory
-
securityfocus.com
/bid/76060
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2009-5147
- NVD CVE-2009-5147
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.