CVE-2008-3905: Medium severity ruby-lang Ruby vulnerability

Published Sep 4, 2008
·
Updated

Common Vulnerabilities and Exposures assigned an identifier CVE-2008-3905 to the following vulnerability:

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.

References: http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/ http://www.openwall.com/lists/oss-security/2008/09/04/9

Upstream patch: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18424

Affected Software

27 affected components
ruby-lang Ruby<=1.8.5
ruby-lang Ruby<=1.8.6
ruby-lang Ruby<=1.8.7
ruby-lang Ruby<=1.9
ruby-lang Ruby=1.6
ruby-lang Ruby=1.6.8
ruby-lang Ruby=1.8.0
ruby-lang Ruby=1.8.1
ruby-lang Ruby=1.8.2
ruby-lang Ruby=1.8.3
ruby-lang Ruby=1.8.4
ruby-lang Ruby=1.8.6
ruby-lang Ruby=1.8.6-p110
ruby-lang Ruby=1.8.6-p111
ruby-lang Ruby=1.8.6-p114
ruby-lang Ruby=1.8.6-p230
ruby-lang Ruby=1.8.6-p36
ruby-lang Ruby=1.8.6-preview1
ruby-lang Ruby=1.8.6-preview2
ruby-lang Ruby=1.8.6-preview3
ruby-lang Ruby=1.8.7
ruby-lang Ruby=1.8.7-p17
ruby-lang Ruby=1.8.7-p22
ruby-lang Ruby=1.8.7-preview1
ruby-lang Ruby=1.8.7-preview2
ruby-lang Ruby=1.8.7-preview3
ruby-lang Ruby=1.8.7-preview4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.6-p287
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.7-p72

Event History

Sep 4, 2008
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
05:41 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·05:41 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 8, 2008
Data Sourced
via Red Hat·03:31 PM
DescriptionSeverityAffected Software
Oct 3, 2018
Data Sourced
09:55 PM
RemedySeverity

Frequently Asked Questions

1

What is the severity of CVE-2008-3905?

CVE-2008-3905 has been classified as a medium severity vulnerability due to its potential to allow remote DNS response spoofing.

2

How do I fix CVE-2008-3905?

To fix CVE-2008-3905, upgrade to Ruby version 1.8.6-p287, 1.8.7-p72, or any later version.

3

Which versions of Ruby are affected by CVE-2008-3905?

CVE-2008-3905 affects Ruby 1.8.5 and earlier, Ruby 1.8.6 before 1.8.6-p287, Ruby 1.8.7 before 1.8.7-p72, and Ruby 1.9 r18423 and earlier.

4

What type of attack does CVE-2008-3905 facilitate?

CVE-2008-3905 makes it easier for attackers to spoof DNS responses, potentially allowing them to redirect users to malicious sites.

5

Is CVE-2008-3905 related to any other vulnerabilities?

CVE-2008-3905 is a different vulnerability than CVE-2008-1447, which addresses a separate issue within the Ruby DNS resolver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203