Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions rubies/ruby/CVE‑2025‑24294.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
engine: ruby
cve: 2025-24294
url: https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/
title: Possible Denial of Service in resolv gem
date: 2025-07-08
description: |
A denial of service vulnerability has been discovered in the `resolv` gem bundled with Ruby.

The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.
An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet,
the name-decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.
This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.
patched_versions:
- "~> 3.2.9"
- "~> 3.3.9"
- ">= 3.4.5"
related:
url:
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/resolv/CVE-2025-24294.yml

Check failure on line 20 in rubies/ruby/CVE‑2025‑24294.yml

View workflow job for this annotation

GitHub Actions / Linter

20:3 [indentation] wrong indentation: expected 4 but found 2
- https://www.cve.org/CVE-2025-24294
- https://www.ruby-lang.org/en/news/2025/07/24/ruby-3-2-9-released/
- https://www.ruby-lang.org/en/news/2025/07/24/ruby-3-3-9-released/
- https://www.ruby-lang.org/en/news/2025/07/15/ruby-3-4-5-released/
Loading