CVE-2012-5643
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 23.0% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 23.0% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 23.0% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- 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
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-5643.md and follow it. Check whether this project is affected by CVE-2012-5643. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.squid-cache.org/Advisories/SQUID-2012_1.txt
- http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch
- http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch
- http://www.squid-cache.org/Advisories/SQUID-2012_1.txt
- http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch
- http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch
References
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00052.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00075.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00025.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00032.html
- http://openwall.com/lists/oss-security/2012/12/17/4
- http://rhn.redhat.com/errata/RHSA-2013-0505.html
- http://secunia.com/advisories/52024
- http://secunia.com/advisories/54839
- http://ubuntu.com/usn/usn-1713-1
- http://www.debian.org/security/2013/dsa-2631
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:129
- http://www.securitytracker.com/id?1027890
- http://www.squid-cache.org/Advisories/SQUID-2012_1.txt
- http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch
- http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch
- https://bugs.gentoo.org/show_bug.cgi?id=447596
- https://bugzilla.redhat.com/show_bug.cgi?id=887962
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0368
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00052.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00075.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00025.html