[From nobody Sun Nov 29 00:09:50 2026
Received: (at submit) by bugs.debian.org; 8 Nov 2026 16:48:22 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-107.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 60; hammy, 150; neutral, 156; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;carnil@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:52412)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;carnil@debian.org&gt;) id 1xQ646-006jxA-0Y
 for submit@bugs.debian.org; Sun, 08 Nov 2026 16:48:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=ggWmV9EDn6jpOMRiAuD2OziJhAWVguHaKFphU7OOcWE=; b=kmRKQvO7mULkRXDpsH4pMRBnNW
 7tDqkpGmMVM39D51ZOpi6TKwmFR9uT40Wpwpr0Xe5FyyKbr1kEehf8E2Gu2226FWeNCvvrW749xTC
 /OCdV0SEq75nwpSbPZ5aF4OtR2nqjHxbDa3t4efLaAm6f4BwxjLqut1GuOFB6RwXW7JNy7ycFN2H7
 Uo1IKUplYuGNibIOMn/6RphkeN4wR1vrbAnS3LiQLfUoWYR22xkc50xDiShEQyumko4wOiYLrsbPW
 gYOLwl79vJRMtnfGzp40iK/sO2AC52f089Jrhi4II7GkaVvhCVvhP0GHcqE49JD437NLbLpxt5+vn
 6aAWXdfA==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;carnil@debian.org&gt;) id 1xQ643-00AyvB-2F
 for submit@bugs.debian.org; Sun, 08 Nov 2026 16:48:20 +0000
Received: by eldamar.lan (Postfix, from userid 1000)
 id 0CBECDC0347; Sun, 08 Nov 2026 17:48:18 +0100 (CET)
Date: Sun, 8 Nov 2026 17:48:18 +0100
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: submit@bugs.debian.org
Subject: ruby3.3: CVE-2026-80212 CVE-2026-80213
Message-ID: &lt;avCn0qmxz-m0esw5@eldamar.lan&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: carnil
Delivered-To: submit@bugs.debian.org

Source: ruby3.3
Version: 3.3.8-2
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security upstream
Control: fixed -1 3.3.13-0+deb13u1

Hi,

The following vulnerabilities were published for ruby3.3.

CVE-2026-80212[0]:
| 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-80213[1]:
| An issue was discovered in the resolv gem before 0.7.2 for Ruby.
| Resolv::DNS::MessageEncoder wrote a DNS label's length into a single
| octet without checking its range. A label longer than 255 octets had
| its length stored modulo 256 but the label data was written
| unchanged, and thus the bytes on the wire described a different name
| than the one the application asked to encode. RFC 1035 section 2.3.4
| limits a label to 63 octets, and the two high bits of the length
| octet are reserved for compression pointers. put_string packed the
| length with put_pack(&quot;C&quot;, d.length) and put_label used it for
| labels, and thus any value from 0 to 255 could end up as a label
| length octet, including the reserved 0x40-0xBF range and the
| 0xC0-0xFF pointer range. Resolv::DNS::Name.create did not check per-
| label or total name length either, and thus an attacker-controlled
| hostname reached the encoder unchanged. An application that resolves
| an attacker-controlled hostname sends a query whose wire bytes name
| a domain the attacker chose. A hostname suffix that the application
| validates against an allowlist becomes padding that never appears on
| the wire, and thus allowlist and egress checks can be bypassed. The
| recursive resolver caches the response under the attacker's name,
| and DNS logs record that name rather than the one the application
| asked for. A label length whose low octet lands in the 0xC0-0xFF
| range produces a length octet that conforming parsers read as the
| start of a compression pointer, with the following attacker-
| controlled byte as the offset.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-80212
    https://www.cve.org/CVERecord?id=CVE-2026-80212
[1] https://security-tracker.debian.org/tracker/CVE-2026-80213
    https://www.cve.org/CVERecord?id=CVE-2026-80213

Regards,
Salvatore
]