CVE-2019-12525

Public on 2019-07-11
Modified on 2024-04-09
Description
An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.
Severity
Medium severity
Medium
CVSS v3 Base Score
4.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 squid 2020-06-01 ALAS-2020-1378 Fixed
Amazon Linux 1 squid 2020-06-23 ALAS-2020-1386 Fixed
Amazon Linux 2 - Core squid 2020-06-26 ALAS2-2020-1448 Fixed
Amazon Linux 2 - Squid4 Extra squid 2023-08-21 ALAS2SQUID4-2023-007 Fixed
Amazon Linux 2 - Squid4 Extra squid 2023-08-21 ALAS2SQUID4-2023-008 Fixed
Amazon Linux 2023 squid Not Affected

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.3 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD CVSSv3 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P