Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2019-12525

Published: 11 July 2019

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.

Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
squid
Launchpad, Ubuntu, Debian
bionic Does not exist

cosmic Ignored
(reached end-of-life)
disco
Released (4.4-1ubuntu2.2)
precise Does not exist

trusty Does not exist

upstream
Released (4.8)
xenial Does not exist

Patches:
upstream: https://github.com/squid-cache/squid/commit/fb73497a6977ce11170a48a547e16d4a50c3bac2 (master)
upstream: https://github.com/squid-cache/squid/commit/409956536647b3a05ee1e367424a24ae6b8f13fd (4.x)

squid3
Launchpad, Ubuntu, Debian
bionic
Released (3.5.27-1ubuntu1.3)
cosmic Does not exist

disco Does not exist

precise
Released (3.1.19-1ubuntu3.12.04.10)
trusty Does not exist

upstream Needed

xenial
Released (3.5.12-1ubuntu7.8)
Patches:


upstream: https://github.com/squid-cache/squid/commit/ec0d0f39cf28da14eead0ba5e777e95855bc2f67 (3.x)