CVE-2012-5643
published 2012-12-20CVE-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 allow remote…
PriorityP433medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
23.00%
97.5th percentile
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.
Affected
109 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | squid | < squid 2.7.STABLE9-2 (bookworm) | squid 2.7.STABLE9-2 (bookworm) |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
vendor_ubuntu5.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.
GHSA
GHSA-pq8w-rcmc-8xgj: Multiple memory leaks in tools/cachemgr
ghsa_unreviewed·2022-05-17
CVE-2012-5643 [MEDIUM] CWE-20 GHSA-pq8w-rcmc-8xgj: Multiple memory leaks in tools/cachemgr
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.
GHSA
GHSA-rrh8-h9v8-p8vr: cachemgr
ghsa_unreviewed·2022-05-05·CVSS 5.0
CVE-2013-0189 [MEDIUM] CWE-119 GHSA-rrh8-h9v8-p8vr: cachemgr
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
OSV
CVE-2013-0189: cachemgr
osv·2013-02-08·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189: cachemgr
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
OSV
CVE-2012-5643: Multiple memory leaks in tools/cachemgr
osv·2012-12-20·CVSS 5.0
CVE-2012-5643 [MEDIUM] CVE-2012-5643: Multiple memory leaks in tools/cachemgr
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.
Ubuntu
Squid vulnerabilities
vendor_ubuntu·2013-01-31·CVSS 5.0
CVE-2012-5643 [MEDIUM] Squid vulnerabilities
Title: Squid vulnerabilities
Summary: squid-cgi could consume excessive system resources, leading to a denial
of service attack on it and other hosted services.
It was discovered that squid's cachemgr.cgi was vulnerable to excessive
resource use. A remote attacker could exploit this flaw to perform a denial
of service attack on the server and other hosted services. (CVE-2012-5643)
It was discovered that the patch for CVE-2012-5643 was incorrect. A
remote attacker could exploit this flaw to perform a denial of service
attack. (CVE-2013-0189)
Instructions: In general, a standard system update will make all the necessary changes.
Ensure the webserver access controls properly restrict access to cachemgr.cgi.
Red Hat
squid: Incomplete fix for the CVE-2012-5643 issue
vendor_redhat·2013-01-01·CVSS 5.0
CVE-2013-0189 [MEDIUM] squid: Incomplete fix for the CVE-2012-5643 issue
squid: Incomplete fix for the CVE-2012-5643 issue
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
Statement: Not Vulnerable. This issue does not affect the version of squid as shipped with Red Hat Enterprise Linux 5 and 6.
Package: squid (Red Hat Enterprise Linux 5) - Not affected
Package: squid (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2013-0189: squid - cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other version...
vendor_debian·2013·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189: squid - cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other version...
cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service (resource consumption) via a crafted request. NOTE: this issue is due to an incorrect fix for CVE-2012-5643, possibly involving an incorrect order of arguments or incorrect comparison.
Scope: local
bookworm: resolved (fixed in 2.7.STABLE9-2)
bullseye: resolved (fixed in 2.7.STABLE9-2)
forky: resolved (fixed in 2.7.STABLE9-2)
sid: resolved (fixed in 2.7.STABLE9-2)
trixie: resolved (fixed in 2.7.STABLE9-2)
Red Hat
squid: cachemgr.cgi memory usage DoS and memory leaks
vendor_redhat·2012-12-17·CVSS 5.0
CVE-2012-5643 [MEDIUM] CWE-401 squid: cachemgr.cgi memory usage DoS and memory leaks
squid: cachemgr.cgi memory usage DoS and memory leaks
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.
Statement: Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Package: squid (Red Hat Enterprise Linux 5) - Will not fix
Debian
CVE-2012-5643: squid - Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x ...
vendor_debian·2012·CVSS 5.0
CVE-2012-5643 [MEDIUM] CVE-2012-5643: squid - Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x ...
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.
Scope: local
bookworm: resolved (fixed in 2.7.STABLE9-2)
bullseye: resolved (fixed in 2.7.STABLE9-2)
forky: resolved (fixed in 2.7.STABLE9-2)
sid: resolved (fixed in 2.7.STABLE9-2)
trixie: resolved (fixed in 2.7.STABLE9-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue [fedora-all]
bugzilla·2013-01-16·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue [fedora-all]
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this issue affe
Bugzilla
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue
bugzilla·2013-01-16·CVSS 5.0
CVE-2013-0189 [MEDIUM] CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue
CVE-2013-0189 squid: Incomplete fix for the CVE-2012-5643 issue
Originally, Common Vulnerabilities and Exposures assigned an identifier CVE-2012-5643 (bug #887962) to the following vulnerability:
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.
Later it was found the upstream patch for CVE-2012-5643 issue to be incomplete, resulting in new patchset:
[1] http://bazaar.launchpad.net/~squid/squid/3.2/revision/11743
[2] http://bazaar.launchpad.net/~squid/squid/3.2/revision/11744
The CVE identifier of CVE-2013-0189 has been
Bugzilla
CVE-2012-5643 squid: cachemgr.cgi memory usage DoS and memory leaks
bugzilla·2012-12-17·CVSS 5.0
CVE-2012-5643 [MEDIUM] CVE-2012-5643 squid: cachemgr.cgi memory usage DoS and memory leaks
CVE-2012-5643 squid: cachemgr.cgi memory usage DoS and memory leaks
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-2012_1.txt
[2] https://bugs.gentoo.org/show_bug.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)
Discussion:
This issue affects the versions of the squid package, as shipped with Red Hat Enterpr
Bugzilla
CVE-2012-5643 squid: DoS (excessive resource consumption) via invalid Content-Length headers or via memory leaks [fedora-16]
bugzilla·2012-12-17·CVSS 5.0
CVE-2012-5643 [MEDIUM] CVE-2012-5643 squid: DoS (excessive resource consumption) via invalid Content-Length headers or via memory leaks [fedora-16]
CVE-2012-5643 squid: DoS (excessive resource consumption) via invalid Content-Length headers or via memory leaks [fedora-16]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes fie
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.htmlhttp://lists.opensuse.org/opensuse-updates/2013-01/msg00052.htmlhttp://lists.opensuse.org/opensuse-updates/2013-01/msg00075.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00025.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00032.htmlhttp://openwall.com/lists/oss-security/2012/12/17/4http://rhn.redhat.com/errata/RHSA-2013-0505.htmlhttp://secunia.com/advisories/52024http://secunia.com/advisories/54839http://ubuntu.com/usn/usn-1713-1http://www.debian.org/security/2013/dsa-2631http://www.mandriva.com/security/advisories?name=MDVSA-2013:129http://www.securitytracker.com/id?1027890http://www.squid-cache.org/Advisories/SQUID-2012_1.txthttp://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patchhttp://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patchhttps://bugs.gentoo.org/show_bug.cgi?id=447596https://bugzilla.redhat.com/show_bug.cgi?id=887962https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0368http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.htmlhttp://lists.opensuse.org/opensuse-updates/2013-01/msg00052.htmlhttp://lists.opensuse.org/opensuse-updates/2013-01/msg00075.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00025.htmlhttp://lists.opensuse.org/opensuse-updates/2013-09/msg00032.htmlhttp://openwall.com/lists/oss-security/2012/12/17/4http://rhn.redhat.com/errata/RHSA-2013-0505.htmlhttp://secunia.com/advisories/52024http://secunia.com/advisories/54839http://ubuntu.com/usn/usn-1713-1http://www.debian.org/security/2013/dsa-2631http://www.mandriva.com/security/advisories?name=MDVSA-2013:129http://www.securitytracker.com/id?1027890http://www.squid-cache.org/Advisories/SQUID-2012_1.txthttp://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patchhttp://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patchhttps://bugs.gentoo.org/show_bug.cgi?id=447596https://bugzilla.redhat.com/show_bug.cgi?id=887962https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0368
2012-12-20
Published