Skip to content

Commit 898e07e

Browse files
authored
Merge pull request #1227 from jasnow/advs-aug27a
Two new resolv advisories @simi - Thanks for your time to review and approve this PR.
2 parents bf3d4cc + ba7cda7 commit 898e07e

2 files changed

Lines changed: 88 additions & 0 deletions

File tree

gems/resolv/CVE-2026-80212.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
gem: resolv
3+
cve: 2026-80212
4+
url: https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-80212
5+
title: CVE-2026-80212 - Memory exhaustion through malicious DNS responses
6+
date: 2026-08-27
7+
description: |
8+
An application that resolves a hostname an attacker can influence,
9+
such as a webhook target or a user-supplied URL, can be made to
10+
consume memory without bound. The attacker points a domain at a
11+
name server they control and returns responses that the library
12+
retains permanently. Repeated lookups grow the process until it
13+
runs out of memory and the service stops.
14+
15+
## Credits
16+
17+
Thanks to dalifit for discovering these issues.
18+
patched_versions:
19+
- "~> 0.3.2"
20+
- ">= 0.7.2"
21+
related:
22+
url:
23+
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-80212
24+
- https://rubygems.org/gems/resolv/versions/0.7.2
25+
- https://github.com/ruby/resolv/releases/tag/v0.7.2
26+
- https://rubygems.org/gems/resolv/versions/0.3.2
27+
- https://github.com/ruby/resolv/releases/tag/v0.3.2
28+
- https://www.ruby-lang.org/en/security
29+
- https://www.ruby-lang.org/en/news/2026/08/27/multiple-vulnerabilities-in-resolv
30+
notes: |
31+
- CVE is reserved, but not published.
32+
- No GHSA values and no cvss values
33+
- Text from "multiple-vulnerabilities-in-resolv" URL
34+
- "Affected versions
35+
- resolv gem 0.4.0 through 0.7.1
36+
- resolv gem 0.3.1 and earlier
37+
- The version bundled with Ruby differs per series: Ruby 4.0 ships
38+
resolv 0.7.0, Ruby 3.4 ships 0.7.1, and Ruby 3.3 ships 0.3.1."
39+
- Recommended action
40+
- Update the resolv gem to 0.7.2. For the Ruby 3.3 series, update to 0.3.2.
41+
- No release is planned for the 0.2.x line that the Ruby 3.2 series
42+
ships, because that series has reached its end of life. Install
43+
resolv 0.7.2 there instead."

gems/resolv/CVE-2026-80213.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
gem: resolv
3+
cve: 2026-80213
4+
url: https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-80213
5+
title: CVE-2026-80213 - Hostname validation bypass
6+
date: 2026-08-27
7+
description: |
8+
An application that checks a hostname against an allow list or an
9+
SSRF filter and then resolves it can be made to look up a domain
10+
other than the one it checked. The string that passes validation
11+
and the name that reaches the network are not the same, so the
12+
connection can end up at a host the application never approved.
13+
This requires a hostname that exceeds the DNS length limits, so
14+
validation that rejects names longer than 255 octets, or labels
15+
longer than 63 octets, is not affected.
16+
17+
## Credits
18+
19+
Thanks to dalifit for discovering these issues.
20+
patched_versions:
21+
- "~> 0.3.2"
22+
- ">= 0.7.2"
23+
related:
24+
url:
25+
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-80213
26+
- https://rubygems.org/gems/resolv/versions/0.7.2
27+
- https://github.com/ruby/resolv/releases/tag/v0.7.2
28+
- https://rubygems.org/gems/resolv/versions/0.3.2
29+
- https://github.com/ruby/resolv/releases/tag/v0.3.2
30+
- https://www.ruby-lang.org/en/security
31+
- https://www.ruby-lang.org/en/news/2026/08/27/multiple-vulnerabilities-in-resolv
32+
notes: |
33+
- CVE is reserved, but not published.
34+
- No GHSA values and no cvss values
35+
- Text from "multiple-vulnerabilities-in-resolv" URL
36+
- "Affected versions
37+
- resolv gem 0.4.0 through 0.7.1
38+
- resolv gem 0.3.1 and earlier
39+
- The version bundled with Ruby differs per series: Ruby 4.0 ships
40+
resolv 0.7.0, Ruby 3.4 ships 0.7.1, and Ruby 3.3 ships 0.3.1."
41+
- Recommended action
42+
- Update the resolv gem to 0.7.2. For the Ruby 3.3 series, update to 0.3.2.
43+
- No release is planned for the 0.2.x line that the Ruby 3.2 series
44+
ships, because that series has reached its end of life. Install
45+
resolv 0.7.2 there instead."

0 commit comments

Comments
 (0)