CVE-2010-2951
published 2010-10-12CVE-2010-2951: dns_internal.cc in Squid 3.1.6, when IPv6 DNS resolution is not enabled, accesses an invalid socket during an IPv4 TCP DNS query, which allows remote attackers…
PriorityP431medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
31.46%
98.1th percentile
dns_internal.cc in Squid 3.1.6, when IPv6 DNS resolution is not enabled, accesses an invalid socket during an IPv4 TCP DNS query, which allows remote attackers to cause a denial of service (assertion failure and daemon exit) via vectors that trigger an IPv4 DNS response with the TC bit set.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| squid-cache | squid | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Trigger condition: Squid 3.1.6 (introduced in 3.1.5.1) with IPv6 DNS resolution disabled receives an IPv4 DNS response with the TC (truncation) bit set, causing assertion failure in dns_internal.cc when accessing an invalid socket file descriptor (-1) ↗
- →The crash is triggered by a DNS reply with the TC bit set (large DNS reply requiring TCP retry), when no IPv6 resolver is present — monitor Squid child process for unexpected assertion failures or restarts ↗
- →Root cause is use of unset socket file descriptor (-1) in dns_internal.cc — not a buffer overflow; crash manifests as assertion failed abort, not memory corruption ↗
- →Affected component and version: squid 3.1.6 (and 3.1.5.1); versions 3.1.4 and earlier are not affected; patch available in upstream revision 10072 ↗
- ·Vulnerability only triggers when IPv6 DNS resolution is NOT enabled in Squid configuration; deployments with IPv6 resolvers configured are not affected ↗
- ·Red Hat Enterprise Linux 3, 4, and 5 ship versions of squid that are NOT affected; only Fedora 12/13 with squid 3.1.6 (updates-testing) are affected ↗
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
vendor_redhat5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9vw9-fpw4-vvf6: dns_internal
ghsa_unreviewed·2022-05-17
CVE-2010-2951 [MEDIUM] GHSA-9vw9-fpw4-vvf6: dns_internal
dns_internal.cc in Squid 3.1.6, when IPv6 DNS resolution is not enabled, accesses an invalid socket during an IPv4 TCP DNS query, which allows remote attackers to cause a denial of service (assertion failure and daemon exit) via vectors that trigger an IPv4 DNS response with the TC bit set.
Red Hat
squid: child assertion failure when processing large DNS replies with no IPv6 resolver present
vendor_redhat·2010-08-18·CVSS 5.0
CVE-2010-2951 [MEDIUM] squid: child assertion failure when processing large DNS replies with no IPv6 resolver present
squid: child assertion failure when processing large DNS replies with no IPv6 resolver present
dns_internal.cc in Squid 3.1.6, when IPv6 DNS resolution is not enabled, accesses an invalid socket during an IPv4 TCP DNS query, which allows remote attackers to cause a denial of service (assertion failure and daemon exit) via vectors that trigger an IPv4 DNS response with the TC bit set.
Package: squid (Red Hat Enterprise Linux 4) - Not affected
Package: squid (Red Hat Enterprise Linux 5) - Not affected
Package: squid (Red Hat Enterprise Linux 6) - Will not fix
No detection rules found.
No public exploits indexed.
http://bazaar.launchpad.net/~squid/squid/3.1/revision/10072http://bugs.gentoo.org/show_bug.cgi?id=334263http://bugs.squid-cache.org/show_bug.cgi?id=3009http://bugs.squid-cache.org/show_bug.cgi?id=3021http://marc.info/?l=squid-users&m=128263555724981&w=2http://www.openwall.com/lists/oss-security/2010/08/24/6http://www.openwall.com/lists/oss-security/2010/08/24/7http://www.openwall.com/lists/oss-security/2010/08/25/2http://www.openwall.com/lists/oss-security/2010/08/25/6http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10072.patchhttps://bugzilla.redhat.com/show_bug.cgi?id=626927http://bazaar.launchpad.net/~squid/squid/3.1/revision/10072http://bugs.gentoo.org/show_bug.cgi?id=334263http://bugs.squid-cache.org/show_bug.cgi?id=3009http://bugs.squid-cache.org/show_bug.cgi?id=3021http://marc.info/?l=squid-users&m=128263555724981&w=2http://www.openwall.com/lists/oss-security/2010/08/24/6http://www.openwall.com/lists/oss-security/2010/08/24/7http://www.openwall.com/lists/oss-security/2010/08/25/2http://www.openwall.com/lists/oss-security/2010/08/25/6http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10072.patchhttps://bugzilla.redhat.com/show_bug.cgi?id=626927
2010-10-12
Published