CVE-2019-12527

high

Description

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.

References

https://www.debian.org/security/2019/dsa-4507

https://usn.ubuntu.com/4065-1/

https://seclists.org/bugtraq/2019/Aug/42

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/

https://github.com/squid-cache/squid/commits/v4

https://access.redhat.com/errata/RHSA-2019:2593

http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch

http://www.squid-cache.org/Versions/v4/changesets/

Details

Source: Mitre, NVD

Published: 2019-07-11

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High