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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.503, 98.9th percentile (scored ); up from 0.490 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.490 · newest: 0.503 · change: +0.013
Affected products
- Squid-Cache Squid
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.04
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 29
- Red Hat Enterprise Linux — versions 8.0
- Red Hat Enterprise Linux Eus — versions 8.1, 8.2, 8.4
- Red Hat Enterprise Linux Server Aus — versions 8.2, 8.4, 8.6
- Red Hat Enterprise Linux Server Tus — versions 8.2, 8.4, 8.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (alphaSeclab/sec-daily-2019, ARPSyndicate/cvemon, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.squid-cache.org/Versions/v4/changesets/ (Vendor Advisory)
- github.com/squid-cache/squid/commits/v4 (Patch, Third Party Advisory)
- www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6a… (Patch, Vendor Advisory)
- www.securityfocus.com/bid/109143 (Third Party Advisory, VDB Entry, vdb-entry, Broken Link)
- USN-4065-1 (vendor-advisory, Third Party Advisory)
- FEDORA-2019-cb50bcc189 (vendor-advisory)
- DSA-4507 (vendor-advisory, Third Party Advisory)
- 20190825 [SECURITY] [DSA 4507-1] squid security update (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2019:2593 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2019:2540 (vendor-advisory, Broken Link)