Buffer overflow in Squid-Cache Squid
CVE-2019-12527
An issue was discovered in Squid 4.0.23 through 4.7. When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data. Squid does not check that the decoded length isn't greater than the buffer, leading to a heap-based buffer overflow with user controlled data.
Vulnerability class: Buffer Overflow
EPSS: 0.490 (98.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Squid-cache Squid
- Canonical Ubuntu_linux — versions 16.04, 18.04, 19.04
- Debian Debian_linux — versions 10.0
- Fedoraproject Fedora — versions 29
- Redhat Enterprise_linux — versions 8.0
- Redhat Enterprise_linux_eus — versions 8.1, 8.2, 8.4
- Redhat Enterprise_linux_server_aus — versions 8.2, 8.4, 8.6
- Redhat Enterprise_linux_server_tus — versions 8.2, 8.4, 8.6
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_CONFIRM, Vendor Advisory)
- cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory)
- cve@mitre.org (x_refsource_CONFIRM, Patch, Vendor Advisory)
- cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, Broken Link, x_refsource_BID)
- cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- cve@mitre.org (mailing-list, x_refsource_BUGTRAQ, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Broken Link, x_refsource_SUSE)
Frequently asked questions
- What is CVE-2019-12527?
- CVE-2019-12527 is a high-severity vulnerability in Squid-Cache Squid, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2019-07-11.
- How severe is CVE-2019-12527?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2019-12527 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.