An issue was discovered in Squid before 5.0.2.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
An issue was discovered in Squid before 5.0.2. A remote attacker can replay a sniffed Digest Authentication nonce to gain access to resources that are otherwise forbidden. This occurs because the attacker can overflow the nonce reference counter (a short integer). Remote code execution may occur if the pooled token credentials are freed (instead of replayed as valid credentials).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* | 3.0 – 3.5.28; 4.0 to before 4.11; 5.0 to before 5.0.2 | Vulnerable | squid-cache |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* | 19.10 | Vulnerable | Canonical |
- cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* Versions 3.0 – 3.5.28; 4.0 to before 4.11; 5.0 to before 5.0.2 Vulnerable ·squid-cache
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* Versions 19.10 Vulnerable ·Canonical
Remediation
Red Hat 4 advisories
- RHSA-2020:2040 Released 2020-05-06 · Red Hat rating Importantsquid security update
- Red Hat Enterprise Linux Server (v. 7) squid-7:3.5.20-15.el7_8.1, squid-migration-script-7:3.5.20-15.el7_8.1
- Red Hat Enterprise Linux Server Optional (v. 7) squid-sysvinit-7:3.5.20-15.el7_8.1
- Red Hat Enterprise Linux Workstation (v. 7) squid-7:3.5.20-15.el7_8.1, squid-migration-script-7:3.5.20-15.el7_8.1
- Red Hat Enterprise Linux Workstation Optional (v. 7) squid-sysvinit-7:3.5.20-15.el7_8.1
- RHSA-2020:2041 Released 2020-05-06 · Red Hat rating Importantsquid:4 security update
- Red Hat Enterprise Linux AppStream (v. 8) libecap-1.0.1-2.module+el8.1.0+4044+36416a77.aarch64::squid:4, libecap-1.0.1-2.module+el8.1.0+4044+36416a77.ppc64le::squid:4, libecap-1.0.1-2.module+el8.1.0+4044+36416a77.s390x::squid:4 +11
- RHSA-2020:2039 Released 2020-05-06 · Red Hat rating Importantsquid:4 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.1) libecap-1.0.1-2.module+el8.1.0+4044+36416a77.aarch64::squid:4, libecap-1.0.1-2.module+el8.1.0+4044+36416a77.ppc64le::squid:4, libecap-1.0.1-2.module+el8.1.0+4044+36416a77.s390x::squid:4 +11
Show 1 more Red Hat advisories
- RHSA-2020:2038 Released 2020-05-06 · Red Hat rating Importantsquid:4 security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) libecap-1.0.1-2.module+el8.0.0+4045+70edde92.ppc64le::squid:4, libecap-1.0.1-2.module+el8.0.0+4045+70edde92.src::squid:4, libecap-1.0.1-2.module+el8.0.0+4045+70edde92.x86_64::squid:4 +5
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:2041 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.0) | Fixed | RHSA-2020:2038 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.1) | Fixed | RHSA-2020:2039 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:2040 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:2040 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:2040 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:2040 |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-11945
- 2026-10-03 Alias added: GHSA-82gh-fr9f-867h
References
Patch 3
Advisory 12
- http://master.squid-cache.org/Versions/v4/changesets/squid-4-eeebf0f37a72a2de08348e85ae34b02c34e9a811.patch
- http://www.openwall.com/lists/oss-security/2020/04/23/2
- https://bugzilla.suse.com/show_bug.cgi?id=1170313
- DSA-4682
- openSUSE-SU-2020:0623
- GLSA-202005-05
- FEDORA-2020-848065cc4c
- FEDORA-2020-a6a921a591
- FEDORA-2020-56e809930e
- USN-4356-1
- [debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update
- https://security.netapp.com/advisory/ntap-20210304-0004/
Sources
- CVE-2020-11945 · CVE Program
- CVE-2020-11945 · NVD
- FIRST EPSS
- GHSA-82gh-fr9f-867h · GitHub Advisory Database · CC BY 4.0
- CVE-2020-11945 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences