Description
An issue was discovered in Squid before 4.12 and 5.x before 5.0.3. Due to use of a potentially dangerous function, Squid and the default certificate validation helper are vulnerable to a Denial of Service when opening a TLS connection to an attacker-controlled server for HTTPS. This occurs because unrecognized error values are mapped to NULL, but later code expects that each error value is mapped to a valid error string.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | squid | 4.12-1 | — |
| Debian 13 | squid | 4.12-1 | — |
| Debian 12 | squid | 4.12-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libecap +1 | 1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2020:4743 |
| RHEL 8 | squid | 7:4.11-3.module+el8.3.0+7851+7808b5f9 | RHSA-2020:4743 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libecap +1 | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2020:4743 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | libecap | 1.0.1-2.module+el8.4.0+404+316a0dc5 | RLSA-2020:4743 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | squid +2 | 7:3.5.20-17.amzn2.7.3 | ALAS2-2023-2063 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libecap +1 | 1.0.1-2.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
| Oracle Linux 8 | squid | 7:4.11-3.module+el8.3.0+7819+eb7d4ef6 | ELSA-2020-4743 |
Advisories 6
- ALSA-2020:4743 Moderate: squid:4 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2020:4743 Red Hat Security Advisory: squid:4 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 4, 2026
- RLSA-2020:4743 Moderate: squid:4 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- WID-SEC-2023-1360 Squid: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Jun 6, 2023
- ALAS2-2023-2063 Important: squid security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 1, 2023
- ELSA-2020-4743 Moderate: squid:4 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 10, 2020
References
- http://www.squid-cache.org/Versions/v5/changesets/squid-5-c6d1a4f6a2cbebceebc8a3fcd8f539ceb7b7f723.patch
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-93f5fda134a2a010b84ffedbe833d670e63ba4be.patch
- http://www.squid-cache.org/Advisories/SQUID-2020_6.txt
- FEDORA-2020-cbebc5617e vendor-advisory
- https://security.netapp.com/advisory/ntap-20210312-0001/