cbcvebase.
CVE-2010-2951
published 2010-10-12

CVE-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
VendorProductVersion rangeFixed in
squid-cachesquid

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.