CVE-2016-2571: Input Validation
Error handling for malformed HTTP responses can lead to a second assertion with the same effects as the first issue. It is not easily triggered in Squid-3 or normally in Squid-4.
However fixing the String issue makes it become easily triggerable in Squid-4, and we do have a history of the assertion itself being reported as occuring already but been unable to identify the vectors code path to replicate it yet. So we believe it can be achieved independent of the String issues, even if we are unable so far to identify how.
Other sources
http.cc in Squid 3.x before 3.5.15 and 4.x before 4.0.7 proceeds with the storage of certain data after a response-parsing failure, which allows remote HTTP servers to cause a denial of service (assertion failure and daemon exit) via a malformed response.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 4.13-10+deb11u3Fixed in 4.13-10+deb11u6Fixed in 5.7-2+deb12u5Fixed in 5.7-2+deb12u4Fixed in 6.13-2+deb13u1Fixed in 7.4-1 - Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 4.0.7 - Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 3.5.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.5.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.0.7
Event History
Frequently Asked Questions
What is the severity of CVE-2016-2571?
CVE-2016-2571 is considered a high severity vulnerability due to its potential to cause denial of service.
How do I fix CVE-2016-2571?
To fix CVE-2016-2571, upgrade to Squid version 3.5.15 or later, or 4.0.7 or later.
What causes the CVE-2016-2571 vulnerability?
CVE-2016-2571 is caused by the mishandling of malformed HTTP responses in certain Squid versions.
Is CVE-2016-2571 easy to exploit?
Yes, CVE-2016-2571 can be exploited easily by sending specially crafted HTTP responses.
Does CVE-2016-2571 affect all versions of Squid?
CVE-2016-2571 affects Squid versions prior to 3.5.15 and 4.0.7.