CVE-2019-12527

Published: 11 July 2019

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.

Priority

Medium

CVSS 3 base score: 8.8

Status

Package Release Status
squid
Launchpad, Ubuntu, Debian
Upstream
Released (4.8)
Ubuntu 18.04 LTS (Bionic Beaver) Does not exist

Ubuntu 16.04 LTS (Xenial Xerus) Does not exist

Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/squid-cache/squid/commit/2582f64a7a33577cd31a82f34da95f3c6e4f5415 (master)
Upstream: https://github.com/squid-cache/squid/commit/7f73e9c5d17664b882ed32590e6af310c247f320 (4.x)
squid3
Launchpad, Ubuntu, Debian
Upstream Needed

Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(code not present)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(code not present)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist