Vulnerability details

Severity
4.0 Medium · CVSS 3.1 · Mitre
Exploited
Not in CISA’s catalog
Published
Ruby resolv

Affected: before 0.3.2; 0.4.0 to before 0.7.2

Fixed: 0.3.2; 0.7.2

github.com · ruby-lang.org · CVE record · NVD

Stories

  1. Ruby 3.3.13 Released

    Ruby 3.3.13 has been released with security fixes for CVE-2026-80212 and CVE-2026-80213, delivered through an update to the default resolv gem to version 0.3.2. It also fixes regular-expression compilation bugs associated with four GitLab CVEs. Ruby 3.3 is in its security maintenance phase; the release includes these additional compilation fixes as an exception.

  2. Security advisories: CVE-2026-80212 and CVE-2026-80213

    Two vulnerabilities have been found in the resolv gem bundled with Ruby. CVE-2026-80212 can cause applications resolving attacker-influenced hostnames to retain DNS responses and exhaust memory; CVE-2026-80213 can bypass hostname checks and direct a lookup to a different domain. The second issue requires a hostname exceeding DNS length limits, while validation that rejects names over 255 octets or labels over 63 octets is not affected. The advisory recommends upgrading the gem.

Topics

Publishers