BSD Ports

rubygem-resolv -- Possible denial of service

· CVE-2025-24294 · VuXML entry

Manu reports: The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet. An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name. This resource …

Affected versions

By system

3 still vulnerable, 3 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDdns/rubygem-resolv0.8.0 fixed (411 days after)
DragonFlydns/rubygem-resolv0.6.0 vulnerable since 2025-07-25
DragonFlylang/ruby323.2.7,1 vulnerable since 2025-07-25
NetBSDlang/ruby4.0.7 not listed
MidnightBSDlang/ruby32 out of range, by version
FreeBSDlang/ruby343.4.9_2,1 fixed
NetBSDlang/ruby343.4.10nb2 not listed
MidnightBSDlang/ruby34 out of range, by version
DragonFlylang/ruby333.3.7,1 vulnerable since 2025-07-25
NetBSDlang/ruby333.3.12nb2 not listed
MidnightBSDlang/ruby33 in range, by version
FreeBSDlang/ruby333.3.12,1 fixed