CVE-2008-3657 in the critical feed json
The dl module in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not check "taintnes…
published 2008-08-13 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-3643
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.7%
- EPSS 13.7% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
The dl module in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not check "taintness" of inputs, which allows context-dependent attackers to bypass safe levels and execute dangerous functions by accessing a library using DL.dlopen.
Patch / fix
- 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-2008:0897
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-3657 updated
ruby: missing "taintness" checks in dl module
-
Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux AS version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 Red Hat Enterprise Linux Desktop (v. 5 client) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux ES version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1fixed: vendor fix RHSA-2008:0897
+1 more productsfewer
Red Hat Enterprise Linux WS version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 -
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-default-gems 3.4.8-31.1.hum1, ruby4.0-default-gems 4.0.0-33.3.hum1, ruby3.3-default-gems 3.3.10-23.1.hum1fixed: vendor fix RHSA-2026:7305
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
Timeline
- First public exploit (EDB-32223)
- Published
Exploit prediction
13.67% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-32223 Ruby 1.9 dl - Module DL.dlopen Arbitrary Library Access remote, 2008-08-11
- securityfocus.com http://www.securityfocus.com/bid/30644 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| 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
-
securityfocus.com
/bid/30644
vdb-entry, exploit, patch
-
usn.ubuntu.com
/651-1/
vendor-advisory
-
debian.org
/security/2008/dsa-1652
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-October/msg00299.html
vendor-advisory
-
debian.org
/security/2008/dsa-1651
vendor-advisory
-
lists.apple.com
/archives/security-announce/2009/May/msg00002.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0897.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200812-17.xml
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-October/msg00259.html
vendor-advisory
-
secunia.com
/advisories/31430
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/31697
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/35074
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/32219
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/32255
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2009/1297
vdb-entry, vendor-advisory
-
secunia.com
/advisories/32371
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/32165
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/33178
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2008/2334
vdb-entry, vendor-advisory
-
secunia.com
/advisories/32256
third-party-advisory, vendor-advisory
- support.apple.com /kb/HT3549
- wiki.rpath.com /wiki/Advisories:rPSA-2008-0264
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9793
vdb-entry, signature
- support.avaya.com /elmodocs2/security/ASA-2008-424.htm
- ruby-lang.org /en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
-
us-cert.gov
/cas/techalerts/TA09-133A.html
third-party-advisory, us-government-resource
-
exchange.xforce.ibmcloud.com
/vulnerabilities/44372
vdb-entry
-
securityfocus.com
/archive/1/495884/100/0/threaded
mailing-list
-
securitytracker.com
/id?1020652
vdb-entry
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=494401
Sources
- CVE List CVE-2008-3657
- NVD CVE-2008-3657
Fencer Vulns 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.