Vulnerabilities / CVE-2020-11945

critical

CVE-2020-11945

squid: improper access restriction upon Digest Authentication nonce replay could lead to remote code execution

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

Description

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).

Affected packages and fixed versions

SourcePackageFixed in
alma 8squid:4::libecap, squid:4::libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8
alpine 3.10squid4.11-r0
alpine 3.11squid4.11-r0
alpine 3.9squid4.11-r0
amazon linux 1squid, squid-debuginfo, squid-migration-script7:3.5.20-15.39.amzn1
amazon linux 2squid, squid-debuginfo, squid-migration-script and 1 more7:3.5.20-15.amzn2.1
debian 10squid4.6-1+deb10u2
debian 11squid4.11-1
debian 12squid4.11-1
debian 13squid4.11-1
debian 14squid4.11-1
debian 9squid33.5.23-5+deb9u2
Show all 38 entries from 26 sources
SourcePackageFixed in
alma 8squid:4::libecap1.0.1-2.module_el8.6.0+2741+01592ae8
alma 8squid:4::libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8
alpine 3.10squid4.11-r0
alpine 3.11squid4.11-r0
alpine 3.9squid4.11-r0
amazon linux 1squid7:3.5.20-15.39.amzn1
amazon linux 1squid-debuginfo7:3.5.20-15.39.amzn1
amazon linux 1squid-migration-script7:3.5.20-15.39.amzn1
amazon linux 2squid7:3.5.20-15.amzn2.1
amazon linux 2squid-debuginfo7:3.5.20-15.amzn2.1
amazon linux 2squid-migration-script7:3.5.20-15.amzn2.1
amazon linux 2squid-sysvinit7:3.5.20-15.amzn2.1
debian 10squid4.6-1+deb10u2
debian 11squid4.11-1
debian 12squid4.11-1
debian 13squid4.11-1
debian 14squid4.11-1
debian 9squid33.5.23-5+deb9u2
echosquid4.11-1
Oracle Linux 7squid7:3.5.20-15.el7_8.1
Oracle Linux 7squid-migration-script7:3.5.20-15.el7_8.1
Oracle Linux 7squid-sysvinit7:3.5.20-15.el7_8.1
Oracle Linux 8libecap1.0.1-2.module+el8.1.0+5405+03b963f4
Oracle Linux 8libecap-devel1.0.1-2.module+el8.1.0+5405+03b963f4
Oracle Linux 8squid7:4.4-8.module+el8.2.0+7611+d512f060.1
Red Hatsquidno fix listed
Red Hatsquid34no fix listed
rocky 8squid:4::libecap1.0.1-2.module+el8.4.0+404+316a0dc5
rocky 8squid:4::libecap-devel1.0.1-2.module+el8.4.0+404+316a0dc5
ubuntu 16.04squid33.5.12-1ubuntu7.11
ubuntu 16.04-ESMsquid33.5.12-1ubuntu7.11
ubuntu 18.04squid33.5.27-1ubuntu1.6
ubuntu 18.04-ESMsquid33.5.27-1ubuntu1.6
ubuntu 19.10squid4.8-1ubuntu2.3
ubuntu 20.04squid4.10-1ubuntu1.1
ubuntu 20.04-ESMsquid4.10-1ubuntu1.1
ubuntu 20.10squid4.10-1ubuntu2
ubuntu 21.04squid4.10-1ubuntu2

References

All 30 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.