CVE-2008-3905
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.4% in the next 30 days (EPSS).
- Severity: 5.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.4% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- 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
Attack profile CVSS 2.0 · 5.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-3905.md and follow it. Check whether this project is affected by CVE-2008-3905. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
- http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
References
- http://secunia.com/advisories/31430
- http://secunia.com/advisories/32165
- http://secunia.com/advisories/32219
- http://secunia.com/advisories/32255
- http://secunia.com/advisories/32256
- http://secunia.com/advisories/32371
- http://secunia.com/advisories/32948
- http://secunia.com/advisories/33178
- http://security.gentoo.org/glsa/glsa-200812-17.xml
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.371754
- http://support.avaya.com/elmodocs2/security/ASA-2008-424.htm
- http://www.debian.org/security/2008/dsa-1651
- http://www.debian.org/security/2008/dsa-1652
- http://www.openwall.com/lists/oss-security/2008/09/03/3
- http://www.openwall.com/lists/oss-security/2008/09/04/9
- http://www.redhat.com/support/errata/RHSA-2008-0897.html
- http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
- http://www.securityfocus.com/bid/31699
- http://www.vupen.com/english/advisories/2008/2334
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45935
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10034
- https://usn.ubuntu.com/651-1/
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00259.html
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00299.html
- http://secunia.com/advisories/31430