CVE-2019-12520
CVE-2019-12520
CVSS 7.5 · High · EPSS 3.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- squid Debian 12Update to 4.8-1
- squid Debian 13Update to 4.8-1
- squid Debian 14Update to 4.8-1
- squid3 Ubuntu 18.04 LTSUpdate to 3.5.27-1ubuntu1.7
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="squid"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="squid3"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
An issue was discovered in Squid through 4.7 and 5. When receiving a request, Squid checks its cache to see if it can serve up a response. It does this by making a MD5 hash of the absolute URL of the request. If found, it servers the request. The absolute URL can include the decoded UserInfo (username and password) for certain protocols. This decoded info is prepended to the domain. This allows an attacker to provide a username that has special characters to delimit the domain, and treat the rest of the URL as a path or query string. An attacker could first make a request to their domain using an encoded username, then when a request for the target domain comes in that decodes to the exact URL, it will serve the attacker's HTML instead of the real HTML. On Squid servers that also act as reverse proxies, this allows an attacker to gain access to features that only reverse proxies can use, such as ESI.
- Published
- Updated
Fixes in distributions
- RHSA-2020:4743 · Red Hat Enterprise Linux 8 appstream ·
- ALSA-2020:4743 · AlmaLinux 8 ·
- RLSA-2020:4743 · Rocky Linux 8 ·
- SUSE-SU-2020:14460-1 · SUSE Linux Enterprise Point of Sale 11 SP3, SUSE Linux Enterprise Server 11 SP4-LTSS ·
- USN-4446-1 · Ubuntu 16.04 LTS, Ubuntu 18.04 LTS ·
- DLA-2278-1 · Debian 9 ·
- SUSE-SU-2020:1227-1 · SUSE Enterprise Storage 5, SUSE HPE Helion OpenStack 8, SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP2-LTSS, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP3-LTSS, SUSE Linux Enterprise Server 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP2, SUSE Linux Enterprise Server for SAP Applications 12 SP3, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
- DSA-4682-1 · Debian 10 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
squid Debian 12
- Affected ranges
- ECOSYSTEM: < 4.8-1
Update to 4.8-1
squid Debian 13
- Affected ranges
- ECOSYSTEM: < 4.8-1
Update to 4.8-1
squid Debian 14
- Affected ranges
- ECOSYSTEM: < 4.8-1
Update to 4.8-1
squid3 Ubuntu 18.04 LTS
- Versions
- 3.5.23-5ubuntu1
- 3.5.23-5ubuntu2
- 3.5.27-1ubuntu1
- 3.5.27-1ubuntu1.1
- 3.5.27-1ubuntu1.2
- 3.5.27-1ubuntu1.3
All versions (9)
- 3.5.27-1ubuntu1.4
- 3.5.27-1ubuntu1.5
- 3.5.27-1ubuntu1.6
- Affected ranges
- ECOSYSTEM: < 3.5.27-1ubuntu1.7
Update to 3.5.27-1ubuntu1.7
Original sources
- http://www.squid-cache.org/Versions/v4/
- http://www.squid-cache.org/Versions/v4/changesets/
- https://github.com/squid-cache/squid/commits/v4
- https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12520.txt
- https://www.debian.org/security/2020/dsa-4682
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- https://usn.ubuntu.com/4446-1/
- https://security.netapp.com/advisory/ntap-20210205-0006/
- https://nvd.nist.gov/vuln/detail/CVE-2019-12520