Allocation of Resources Without Limits or Throttling Affecting ruby-bundled-gems package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.57% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-RUBYBUNDLEDGEMS-19740909
  • published13 Sept 2026
  • disclosed27 Aug 2026

Introduced: 27 Aug 2026

NewCVE-2026-80212  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 ruby-bundled-gems.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-bundled-gems package and not the ruby-bundled-gems package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::Resource.get_class, Resolv::DNS::Resource::Generic.create, and Resolv::DNS::SvcParam::Generic.create generate a new class for each unknown DNS resource record (type, class) pair, or each unknown SvcParamKey, encountered while decoding a response. Each generated class was permanently registered both as a constant on Resource (or SvcParam::Generic) and as an entry in a class-lookup hash (ClassHash), and thus the class remained reachable through that constant after the response was discarded. Type and class are each 16-bit values, and thus an attacker controlling DNS responses (a spoofed response, or a malicious or hijacked upstream DNS server) has roughly 2^32 distinct (type, class) pairs to choose from. A single response of a few hundred kilobytes carrying tens of thousands of distinct unknown types permanently grows process memory by tens of megabytes; repeated responses accumulate without bound and are never reclaimed by garbage collection, because the constant keeps each class alive. Any code path that calls Resolv::DNS::Message.decode on attacker-influenced DNS responses is affected. resolv is a default gem, and thus this is reachable from a plain Ruby installation without any additional dependency.

CVSS Base Scores

version 3.1