Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | ruby1.8 | 1.8.5-4etch3 | DSA-1651-1 |
| Debian 4.0 | ruby1.9 | 1.9.0+20060609-1etch3 | DSA-1652-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | ruby +8 | 1.8.5-5.el5_2.5 | RHSA-2008:0897 |
| RHEL 4 | irb +6 | 1.8.1-7.el4_7.1 | RHSA-2008:0897 |
| RHEL 3 | irb +6 | 1.6.8-13.el3 | RHSA-2008:0896 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | ruby3.3 +5 | 3.3.10-23.1.hum1 | RHSA-2026:7305 |
| Red Hat Hardened Images 1 | ruby3.4 +5 | 3.4.8-31.1.hum1 | RHSA-2026:7307 |
| Red Hat Hardened Images 1 | ruby4.0 +5 | 4.0.0-33.3.hum1 | RHSA-2026:8838 |
Advisories 7
- RHSA-2026:7305 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2026:8838 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2026:7307 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2008:0897 Red Hat Security Advisory: ruby security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2008:0896 Red Hat Security Advisory: ruby security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1652-1 ruby1.9 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1651-1 ruby1.8 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20080904 Re: CVE Request (ruby -- DNS spoofing vulnerability mailing-list
- 31430 third-party-advisory
- USN-651-1 vendor-advisory
- 31699 vdb-entry
- DSA-1652 vendor-advisory
- FEDORA-2008-8736 vendor-advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-424.htm
- DSA-1651 vendor-advisory
- RHSA-2008:0897 vendor-advisory
- http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
- 32219 third-party-advisory
- 32948 third-party-advisory
- oval:org.mitre.oval:def:10034 vdb-entry signature
- 32255 third-party-advisory
- ruby-resolv-dns-spoofing(45935) vdb-entry
- 32371 third-party-advisory
- 32165 third-party-advisory
- GLSA-200812-17 vendor-advisory
- 33178 third-party-advisory
- ADV-2008-2334 vdb-entry
- SSA:2008-334-01 vendor-advisory
- FEDORA-2008-8738 vendor-advisory
- 32256 third-party-advisory
- [oss-security] 20080903 CVE Request (ruby -- DNS spoofing vulnerability in resolv.rb) mailing-list