CVE-2019-12523
An issue was discovered in Squid before 4.9. When handling a URN request, a corresponding HTTP request is made. This HTTP request doesn't go through the access checks that incoming HTTP requests go through. This causes all access checks to be bypassed and allows access to restricted HTTP servers, e.g., an attacker can connect to HTTP servers that only listen on localhost.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | squid | Fixed | 4.9-2ubuntu1 | UBUNTU-CVE-2019-12523 |
| Ubuntu 18.04 | squid3 | Fixed | 3.5.27-1ubuntu1.7 | UBUNTU-CVE-2019-12523 |
| Ubuntu 16.04 | squid3 | Fixed | 3.5.12-1ubuntu7.12 | UBUNTU-CVE-2019-12523 |
| Ubuntu 14.04 | squid3 | Fix pending | ||
| Debian 14 | squid | Fixed | 4.9-1 | DEBIAN-CVE-2019-12523 |
| Debian 13 | squid | Fixed | 4.9-1 | DEBIAN-CVE-2019-12523 |
| Debian 12 | squid | Fixed | 4.9-1 | DEBIAN-CVE-2019-12523 |
| Red Hat Enterprise Linux 8 | libecap | Fixed | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux 8 | libecap-devel | Fixed | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| Red Hat Enterprise Linux 8 | squid | Fixed | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
| Red Hat Enterprise Linux 7 | squid | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | squid-migration-script | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | squid-sysvinit | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | squid | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | squid34 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | squid | Not affected | ||
| AlmaLinux 8 | libecap | Fixed | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2020:4743 |
| AlmaLinux 8 | libecap-devel | Fixed | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2020:4743 |
| Rocky Linux 8 | libecap | Fixed | 0:1.0.1-2.module+el8.4.0+404+316a0dc5 | RLSA-2020:4743 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/4213-1/ (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4682 (vendor-advisory)
- https://usn.ubuntu.com/4446-1/ (vendor-advisory)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html
- http://www.squid-cache.org/Advisories/SQUID-2019_8.txt
- https://bugzilla.suse.com/show_bug.cgi?id=1156329
- https://usn.ubuntu.com/4213-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UEMOYTMCCFWK5NOXSXEIH5D2VGWVXR67/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTM74TU2BSLT5B3H4F3UDW53672NVLMC/
- 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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.