Live threats

All CVEs / Ruby-lang

CVE-2008-3905Ruby-lang Ruby

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Sep 4, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≤ 1.8.5
ruby-langruby≤ 1.8.6
ruby-langruby≤ 1.8.7
ruby-langruby≤ 1.9
ruby-langruby1.6
ruby-langruby1.6.8
ruby-langruby1.8.0
ruby-langruby1.8.1
ruby-langruby1.8.2
ruby-langruby1.8.3
ruby-langruby1.8.4
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.6
ruby-langruby1.8.7
ruby-langruby1.8.7
ruby-langruby1.8.7
ruby-langruby1.8.7
ruby-langruby1.8.7
ruby-langruby1.8.7
ruby-langruby1.8.7

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.