OESA-2026-3666

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3666
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3666.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2026-3666
Upstream
Published
2026-09-05T15:03:43Z
Modified
2026-09-05T15:16:39Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ruby security update
Details

Ruby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).

Security Fix(es):

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.(CVE-2026-80212)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / ruby

Package

Name
ruby
Purl
pkg:rpm/openEuler/ruby&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.5.8-143.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "ruby-2.5.8-143.oe2003sp4.aarch64.rpm",
        "ruby-debuginfo-2.5.8-143.oe2003sp4.aarch64.rpm",
        "ruby-debugsource-2.5.8-143.oe2003sp4.aarch64.rpm",
        "ruby-devel-2.5.8-143.oe2003sp4.aarch64.rpm",
        "rubygem-bigdecimal-1.3.4-143.oe2003sp4.aarch64.rpm",
        "rubygem-io-console-0.4.6-143.oe2003sp4.aarch64.rpm",
        "rubygem-json-2.1.0-143.oe2003sp4.aarch64.rpm",
        "rubygem-openssl-2.1.2-143.oe2003sp4.aarch64.rpm",
        "rubygem-psych-3.0.2-143.oe2003sp4.aarch64.rpm"
    ],
    "noarch": [
        "ruby-help-2.5.8-143.oe2003sp4.noarch.rpm",
        "ruby-irb-2.5.8-143.oe2003sp4.noarch.rpm",
        "rubygem-did_you_mean-1.2.0-143.oe2003sp4.noarch.rpm",
        "rubygem-minitest-5.10.3-143.oe2003sp4.noarch.rpm",
        "rubygem-net-telnet-0.1.1-143.oe2003sp4.noarch.rpm",
        "rubygem-power_assert-1.1.1-143.oe2003sp4.noarch.rpm",
        "rubygem-rake-12.3.0-143.oe2003sp4.noarch.rpm",
        "rubygem-rdoc-6.0.1.1-143.oe2003sp4.noarch.rpm",
        "rubygem-test-unit-3.2.7-143.oe2003sp4.noarch.rpm",
        "rubygem-xmlrpc-0.3.0-143.oe2003sp4.noarch.rpm",
        "rubygems-2.7.6-143.oe2003sp4.noarch.rpm",
        "rubygems-devel-2.7.6-143.oe2003sp4.noarch.rpm"
    ],
    "src": [
        "ruby-2.5.8-143.oe2003sp4.src.rpm"
    ],
    "x86_64": [
        "ruby-2.5.8-143.oe2003sp4.x86_64.rpm",
        "ruby-debuginfo-2.5.8-143.oe2003sp4.x86_64.rpm",
        "ruby-debugsource-2.5.8-143.oe2003sp4.x86_64.rpm",
        "ruby-devel-2.5.8-143.oe2003sp4.x86_64.rpm",
        "rubygem-bigdecimal-1.3.4-143.oe2003sp4.x86_64.rpm",
        "rubygem-io-console-0.4.6-143.oe2003sp4.x86_64.rpm",
        "rubygem-json-2.1.0-143.oe2003sp4.x86_64.rpm",
        "rubygem-openssl-2.1.2-143.oe2003sp4.x86_64.rpm",
        "rubygem-psych-3.0.2-143.oe2003sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3666.json"