CVE-2008-3905 json
resolv.rb in Ruby 1.8.5 and earlier, 1.8.6 before 1.8.6-p287, 1.8.7 before 1.8.7-p72, and 1.9 r18423 and earlier uses sequential transactio…
published 2008-09-04 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-3891
- cvss
- 5.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
resolv.rb in Ruby 1.8.5 and earlier, 1.8.6 before 1.8.6-p287, 1.8.7 before 1.8.7-p72, and 1.9 r18423 and earlier uses sequential transaction IDs and constant source ports for DNS requests, which makes it easier for remote attackers to spoof DNS responses, a different vulnerability than CVE-2008-1447.
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:0897RHSA-2008:0896
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-3905 updated
ruby: use of predictable source port and transaction id in DNS requests done by resolv.rb module
-
Red Hat Desktop version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
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 morefixed: vendor fix RHSA-2008:0897
-
Red Hat Enterprise Linux AS version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
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 morefixed: vendor fix RHSA-2008:0897
-
Red Hat Enterprise Linux ES version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
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
-
Red Hat Enterprise Linux WS version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
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.1fixed: vendor fix RHSA-2008:0897
show 1 moreshow fewer
-
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
Exploit prediction
2.42% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2008/09/03/3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
ruby-lang.org
/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
patch
-
openwall.com
/lists/oss-security/2008/09/03/3
mailing-list, exploit
-
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
-
redhat.com
/support/errata/RHSA-2008-0897.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200812-17.xml
vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.371754
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-October/msg00259.html
vendor-advisory
-
openwall.com
/lists/oss-security/2008/09/04/9
mailing-list
-
secunia.com
/advisories/31430
third-party-advisory
-
securityfocus.com
/bid/31699
vdb-entry
- support.avaya.com /elmodocs2/security/ASA-2008-424.htm
-
secunia.com
/advisories/32219
third-party-advisory
-
secunia.com
/advisories/32948
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10034
vdb-entry, signature
-
secunia.com
/advisories/32255
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/45935
vdb-entry
-
secunia.com
/advisories/32371
third-party-advisory
-
secunia.com
/advisories/32165
third-party-advisory
-
secunia.com
/advisories/33178
third-party-advisory
-
vupen.com
/english/advisories/2008/2334
vdb-entry
-
secunia.com
/advisories/32256
third-party-advisory
Sources
- CVE List CVE-2008-3905
- NVD CVE-2008-3905
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.