CVE-2019-12525

Public on 2019-07-11
Modified on 2024-01-18
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
See what this means
CVSS v3 Base Score
4.3
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 1 squid 2020-06-23 06:08 ALAS-2020-1386
Amazon Linux 1 squid 2020-06-01 12:25 ALAS-2020-1378
Amazon Linux 2 - Core squid 2020-06-26 22:56 ALAS2-2020-1448
Amazon Linux 2 - Squid4 Extra squid 2023-08-21 20:59 ALAS2SQUID4-2023-008
Amazon Linux 2 - Squid4 Extra squid 2023-08-21 20:59 ALAS2SQUID4-2023-007

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