CVE-2012-5643: Input Validation

Published Dec 17, 2012
·
Updated

A denial of service flaw was found in the way the CGI Cache Manager of the Squid proxy caching server processed certain requests. A remote attacker could this this flaw to cause the squid service to consume excessive amount of resources.

References: [1] http://www.squid-cache.org/Advisories/SQUID-20121.txt [2] https://bugs.gentoo.org/showbug.cgi?id=447596 [3] https://secunia.com/advisories/51545/

Upstream patches: [4] http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch (against the 3.1 branch) [5] http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch (against the 3.2 branch)

Other sources

Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x before 3.1.22, 3.2.x before 3.2.4, and 3.3.x before 3.3.0.2 allow remote attackers to cause a denial of service (memory consumption) via (1) invalid Content-Length headers, (2) long POST requests, or (3) crafted authentication credentials.

MITRE

Affected Software

102 affected components
Squid-Cache Squid=2.0
Squid-Cache Squid=2.1
Squid-Cache Squid=2.2
Squid-Cache Squid=2.3
Squid-Cache Squid=2.4
Squid-Cache Squid=2.5
Squid-Cache Squid=2.6
Squid-Cache Squid=2.7
Squid-Cache Squid=2.7-stable3
Squid-Cache Squid=2.7-stable4
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0
Squid-Cache Squid=3.0-rc4
Squid-Cache Squid=3.0.stable1
Squid-Cache Squid=3.0.stable2
Squid-Cache Squid=3.0.stable3
Squid-Cache Squid=3.0.stable4
Squid-Cache Squid=3.0.stable5
Squid-Cache Squid=3.0.stable6
Squid-Cache Squid=3.0.stable7
Squid-Cache Squid=3.0.stable8
Squid-Cache Squid=3.0.stable9
Squid-Cache Squid=3.0.stable10
Squid-Cache Squid=3.0.stable11
Squid-Cache Squid=3.0.stable11-rc1
Squid-Cache Squid=3.0.stable12
Squid-Cache Squid=3.0.stable13
Squid-Cache Squid=3.0.stable14
Squid-Cache Squid=3.0.stable15
Squid-Cache Squid=3.0.stable16
Squid-Cache Squid=3.0.stable16-rc1
Squid-Cache Squid=3.0.stable17
Squid-Cache Squid=3.0.stable18
Squid-Cache Squid=3.0.stable19
Squid-Cache Squid=3.0.stable20
Squid-Cache Squid=3.0.stable21
Squid-Cache Squid=3.0.stable22
Squid-Cache Squid=3.0.stable23
Squid-Cache Squid=3.0.stable24
Squid-Cache Squid=3.0.stable25
Squid-Cache Squid=3.1
Squid-Cache Squid=3.1.0.1
Squid-Cache Squid=3.1.0.2
Squid-Cache Squid=3.1.0.3
Squid-Cache Squid=3.1.0.4
Squid-Cache Squid=3.1.0.5
Squid-Cache Squid=3.1.0.6
Squid-Cache Squid=3.1.0.7
Squid-Cache Squid=3.1.0.8
Squid-Cache Squid=3.1.0.9
Squid-Cache Squid=3.1.0.10
Squid-Cache Squid=3.1.0.11
Squid-Cache Squid=3.1.0.12
Squid-Cache Squid=3.1.0.13
Squid-Cache Squid=3.1.0.14
Squid-Cache Squid=3.1.0.15
Squid-Cache Squid=3.1.0.16
Squid-Cache Squid=3.1.0.17
Squid-Cache Squid=3.1.0.18
Squid-Cache Squid=3.1.1
Squid-Cache Squid=3.1.2
Squid-Cache Squid=3.1.10
Squid-Cache Squid=3.1.11
Squid-Cache Squid=3.1.12
Squid-Cache Squid=3.1.13
Squid-Cache Squid=3.1.14
Squid-Cache Squid=3.1.15
Squid-Cache Squid=3.1.16
Squid-Cache Squid=3.1.17
Squid-Cache Squid=3.1.18
Squid-Cache Squid=3.1.19
Squid-Cache Squid=3.1.20
Squid-Cache Squid=3.1.21
Squid-Cache Squid=3.2.0.1
Squid-Cache Squid=3.2.0.2
Squid-Cache Squid=3.2.0.3
Squid-Cache Squid=3.2.0.4
Squid-Cache Squid=3.2.0.5
Squid-Cache Squid=3.2.0.6
Squid-Cache Squid=3.2.0.7
Squid-Cache Squid=3.2.0.8
Squid-Cache Squid=3.2.0.9
Squid-Cache Squid=3.2.0.10
Squid-Cache Squid=3.2.0.11
Squid-Cache Squid=3.2.0.12
Squid-Cache Squid=3.2.0.13
Squid-Cache Squid=3.2.0.14
Squid-Cache Squid=3.2.0.15
Squid-Cache Squid=3.2.0.16
Squid-Cache Squid=3.2.0.17
Squid-Cache Squid=3.2.0.18
Squid-Cache Squid=3.2.0.19
Squid-Cache Squid=3.2.1
Squid-Cache Squid=3.2.2
Squid-Cache Squid=3.2.3
Squid-Cache Squid=3.3.0.1

Event History

Dec 17, 2012
Data Sourced
via Red Hat·05:19 PM
DescriptionSeverityAffected Software
Dec 20, 2012
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-5643?

CVE-2012-5643 has a severity rating that points to it being a denial of service vulnerability affecting the Squid proxy caching server.

2

How do I fix CVE-2012-5643?

To fix CVE-2012-5643, update to a patched version of the Squid proxy server that resolves this denial of service vulnerability.

3

What versions of Squid are affected by CVE-2012-5643?

CVE-2012-5643 affects multiple versions of Squid, including 2.0 through 2.7 and 3.0 through 3.3.0.1.

4

What type of attack does CVE-2012-5643 allow?

CVE-2012-5643 allows a remote attacker to exploit the vulnerability to cause excessive resource consumption, leading to denial of service.

5

Is CVE-2012-5643 present in all Squid versions?

No, CVE-2012-5643 is not present in all Squid versions; specifically, it affects a range of older versions as listed in the advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203