Skip to content

Conversation

@hudakh
Copy link
Contributor

@hudakh hudakh commented Oct 28, 2025

Description:
Adds an advisory for a denial-of-service vulnerability in the resolv library bundled with Ruby.

Details:
A vulnerability exists in resolv where an attacker can craft a malicious DNS packet with a highly compressed domain name.
During parsing, the name-decompression can consume excessive CPU resources, leading to a thread or application becoming unresponsive (DoS).
Announcement

Affected versions:

  • Ruby 3.2 series: resolv ≤ 0.2.2
  • Ruby 3.3 series: resolv = 0.3.0
  • Ruby 3.4 series: resolv ≤ 0.6.1

References:

@hudakh
Copy link
Contributor Author

hudakh commented Oct 28, 2025

@jasnow for your review

Copy link
Member

@postmodern postmodern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't appear to be in the format of ruby-advisory-db's YAML schema. Please see the examples and YAML schema documentation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ruby-advisory-db omits the CVE- from the cve: field.

Copy link
Member

@postmodern postmodern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also will need to list the specific new ruby versions that were released, instead of the resolv gem versions.

@hudakh
Copy link
Contributor Author

hudakh commented Oct 29, 2025

Thanks @postmodern. All addressed now, apologies for using the wrong schema.

@hudakh hudakh requested a review from postmodern November 3, 2025 00:26
Copy link
Member

@postmodern postmodern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter failed because of the indentation on lines 20-24. Should be four spaces, not two.

@hudakh
Copy link
Contributor Author

hudakh commented Nov 4, 2025

Linter failed because of the indentation on lines 20-24. Should be four spaces, not two.

Just saw that and pushed a fix.

@hudakh hudakh requested a review from postmodern November 4, 2025 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants