CVE-2019-12525
Reported by mitre · Published July 11, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| squid | Amazon Linux | 7:3.5.20-15.amzn2.1 |
| squid3 | Ubuntu:16.04:LTS | 3.5.12-1ubuntu7.8 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | squid | 0 |
| n/a | n/a | * |
| amazon:2 | squid-sysvinit | 0 |
| alpine | squid | 0 |
| amazon:2 | squid-migration-script | 0 |
Timeline
- Jul 11, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 6, 2026 Security Advisory (12 in total, the first dated here)
- Sep 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-12525
vulnetix vdb fixes CVE-2019-12525
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-12525/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- USN-4065-1 vendor-advisoryx_refsource_UBUNTU
- [debian-lts-announce] 20190720 [SECURITY] [DLA 1858-1] squid3 security update mailing-listx_refsource_MLIST
- USN-4065-2 vendor-advisoryx_refsource_UBUNTU
- FEDORA-2019-cb50bcc189 vendor-advisoryx_refsource_FEDORA
- DSA-4507 vendor-advisoryx_refsource_DEBIAN
- 20190825 [SECURITY] [DSA 4507-1] squid security update mailing-listx_refsource_BUGTRAQ
- openSUSE-SU-2019:2540 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:2541 vendor-advisoryx_refsource_SUSE
- [debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update mailing-listx_refsource_MLIST