CVE-2019-12520
publishedsquid: Improper input validation in request allows for proxy manipulation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2SQUID4-2023-009 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2SQUID4-2023-010 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libecap | Advisory build | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2020:4743 |
| Debian | buster | squid | Advisory build | 4.6-1+deb10u2 | DSA-4682-1 |
| Oracle Linux | 7 | squidaarch64 | Advisory build | 7:4.11-3.0.1.el7 | ELSA-2022-22254 |
| Red Hat Enterprise Linux | RHEL-8 | libecapaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
Show 77 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-11-SP3 | squid3i586 | Advisory build | 3.1.23-8.16.37.12.1 | SUSE-SU-2020:14460-1 |
| Ubuntu | bionic | squid | Advisory build | 3.5.27-1ubuntu1.7 | USN-4446-1 |
| Amazon Linux | AL2 | squidaarch64 | Listed in advisory | Not stated | ALAS2SQUID4-2023-009 |
| Rocky Linux | 8 | libecapaarch64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| AlmaLinux | 8 | libecap-devel | Advisory build | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2020:4743 |
| Debian | stretch | squid3 | Advisory build | 3.5.23-5+deb9u2 | DLA-2278-1 |
| Oracle Linux | 7 | squidx86_64 | Advisory build | 7:4.11-3.0.1.el7 | ELSA-2022-22254 |
| Oracle Linux | 8 | libecapaarch64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Oracle Linux | 8 | libecapx86_64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Oracle Linux | 8 | libecap-develaarch64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Oracle Linux | 8 | libecap-develx86_64 · squid · 4b | Advisory build | 0:1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Oracle Linux | 8 | squidaarch64 · squid · 4b | Advisory build | 7:4.11-3.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Oracle Linux | 8 | squidx86_64 · squid · 4b | Advisory build | 7:4.11-3.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecapppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecaps390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecapsrc | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecapx86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfoaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfoppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfos390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debuginfox86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsourceaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsourceppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsources390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-debugsourcex86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-develaarch64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-develppc64le | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-devels390x | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | libecap-develx86_64 | Advisory build | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squidaarch64 | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squidppc64le | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squids390x | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squidsrc | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squidx86_64 | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfoaarch64 | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfoppc64le | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfos390x | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debuginfox86_64 | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsourceaarch64 | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsourceppc64le | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsources390x | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux | RHEL-8 | squid-debugsourcex86_64 | Advisory build | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| SUSE / openSUSE | SLE-11-SP4 | squid3i586 | Advisory build | 3.1.23-8.16.37.12.1 | SUSE-SU-2020:14460-1 |
| SUSE / openSUSE | SLE-11-SP4 | squid3ppc64 | Advisory build | 3.1.23-8.16.37.12.1 | SUSE-SU-2020:14460-1 |
| SUSE / openSUSE | SLE-11-SP4 | squid3s390x | Advisory build | 3.1.23-8.16.37.12.1 | SUSE-SU-2020:14460-1 |
| SUSE / openSUSE | SLE-11-SP4 | squid3x86_64 | Advisory build | 3.1.23-8.16.37.12.1 | SUSE-SU-2020:14460-1 |
| SUSE / openSUSE | SLE-12-SP2 | squidppc64le | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP2 | squids390x | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP2 | squidx86_64 | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP3 | squidaarch64 | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP3 | squidppc64le | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP3 | squids390x | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP3 | squidx86_64 | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP4 | squidaarch64 | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP4 | squidppc64le | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP4 | squids390x | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| SUSE / openSUSE | SLE-12-SP4 | squidx86_64 | Advisory build | 3.5.21-26.23.1 | SUSE-SU-2020:1227-1 |
| Ubuntu | bionic | squid-cgi | Advisory build | 3.5.27-1ubuntu1.7 | USN-4446-1 |
| Ubuntu | bionic | squid-common | Advisory build | 3.5.27-1ubuntu1.7 | USN-4446-1 |
| Ubuntu | bionic | squid-purge | Advisory build | 3.5.27-1ubuntu1.7 | USN-4446-1 |
| Ubuntu | bionic | squid3 | Advisory build | 3.5.27-1ubuntu1.7 | USN-4446-1 |
| Ubuntu | bionic | squidclient | Advisory build | 3.5.27-1ubuntu1.7 | USN-4446-1 |
| Amazon Linux | AL2 | squidaarch64 | Listed in advisory | Not stated | ALAS2SQUID4-2023-010 |
| Amazon Linux | AL2 | squidi686 | Listed in advisory | Not stated | ALAS2SQUID4-2023-009 |
| Amazon Linux | AL2 | squidi686 | Listed in advisory | Not stated | ALAS2SQUID4-2023-010 |
| Amazon Linux | AL2 | squidsrc | Listed in advisory | Not stated | ALAS2SQUID4-2023-009 |
| Amazon Linux | AL2 | squidsrc | Listed in advisory | Not stated | ALAS2SQUID4-2023-010 |
| Amazon Linux | AL2 | squidx86_64 | Listed in advisory | Not stated | ALAS2SQUID4-2023-009 |
| Amazon Linux | AL2 | squidx86_64 | Listed in advisory | Not stated | ALAS2SQUID4-2023-010 |
| Rocky Linux | 8 | libecapsrc | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecapx86_64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecap-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecap-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecap-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecap-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecap-develaarch64 | Listed in advisory | Not stated | RLSA-2020:4743 |
| Rocky Linux | 8 | libecap-develx86_64 | Listed in advisory | Not stated | RLSA-2020:4743 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- 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
- [debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- https://security.netapp.com/advisory/ntap-20210205-0006/
- USN-4446-1 https://usn.ubuntu.com/4446-1/
- DSA-4682 https://www.debian.org/security/2020/dsa-4682
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b5b95ad0d7342c506e4f6cb34051f64c1c9b2db6b4bb976cb7f82579a137d95c
- Ingested
- 23 Sep 2026, 07:45:46 UTC
- Source record
- Official CVE record