GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
oesa-2026-3666
Vulnerability from osv_openeuler
Published
2026-09-05 15:03
Modified
2026-09-05 15:03
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)


{
  "affected": [
    {
      "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"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "ruby",
        "purl": "pkg:rpm/openEuler/ruby\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.5.8-143.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "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).\r\n\r\nSecurity Fix(es):\n\nAn 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)",
  "id": "OESA-2026-3666",
  "modified": "2026-09-05T15:03:43Z",
  "published": "2026-09-05T15:03:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3666"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80212"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ruby security update",
  "upstream": [
    "CVE-2026-80212"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…