CVE-2020-11945
squid: improper access restriction upon Digest Authentication nonce replay could lead to remote code execution
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (alta), AlmaLinux (alta), Amazon (alta), Oracle (alta), Rocky Linux (alta), Ubuntu (media).
Descripción
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).
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| alma 8 | squid:4::libecap, squid:4::libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| alpine 3.10 | squid | 4.11-r0 |
| alpine 3.11 | squid | 4.11-r0 |
| alpine 3.9 | squid | 4.11-r0 |
| amazon linux 1 | squid, squid-debuginfo, squid-migration-script | 7:3.5.20-15.39.amzn1 |
| amazon linux 2 | squid, squid-debuginfo, squid-migration-script y 1 más | 7:3.5.20-15.amzn2.1 |
| debian 10 | squid | 4.6-1+deb10u2 |
| debian 11 | squid | 4.11-1 |
| debian 12 | squid | 4.11-1 |
| debian 13 | squid | 4.11-1 |
| debian 14 | squid | 4.11-1 |
| debian 9 | squid3 | 3.5.23-5+deb9u2 |
Mostrar las 38 entradas de 26 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| alma 8 | squid:4::libecap | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| alma 8 | squid:4::libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| alpine 3.10 | squid | 4.11-r0 |
| alpine 3.11 | squid | 4.11-r0 |
| alpine 3.9 | squid | 4.11-r0 |
| amazon linux 1 | squid | 7:3.5.20-15.39.amzn1 |
| amazon linux 1 | squid-debuginfo | 7:3.5.20-15.39.amzn1 |
| amazon linux 1 | squid-migration-script | 7:3.5.20-15.39.amzn1 |
| amazon linux 2 | squid | 7:3.5.20-15.amzn2.1 |
| amazon linux 2 | squid-debuginfo | 7:3.5.20-15.amzn2.1 |
| amazon linux 2 | squid-migration-script | 7:3.5.20-15.amzn2.1 |
| amazon linux 2 | squid-sysvinit | 7:3.5.20-15.amzn2.1 |
| debian 10 | squid | 4.6-1+deb10u2 |
| debian 11 | squid | 4.11-1 |
| debian 12 | squid | 4.11-1 |
| debian 13 | squid | 4.11-1 |
| debian 14 | squid | 4.11-1 |
| debian 9 | squid3 | 3.5.23-5+deb9u2 |
| echo | squid | 4.11-1 |
| Oracle Linux 7 | squid | 7:3.5.20-15.el7_8.1 |
| Oracle Linux 7 | squid-migration-script | 7:3.5.20-15.el7_8.1 |
| Oracle Linux 7 | squid-sysvinit | 7:3.5.20-15.el7_8.1 |
| Oracle Linux 8 | libecap | 1.0.1-2.module+el8.1.0+5405+03b963f4 |
| Oracle Linux 8 | libecap-devel | 1.0.1-2.module+el8.1.0+5405+03b963f4 |
| Oracle Linux 8 | squid | 7:4.4-8.module+el8.2.0+7611+d512f060.1 |
| Red Hat | squid | sin corrección indicada |
| Red Hat | squid34 | sin corrección indicada |
| rocky 8 | squid:4::libecap | 1.0.1-2.module+el8.4.0+404+316a0dc5 |
| rocky 8 | squid:4::libecap-devel | 1.0.1-2.module+el8.4.0+404+316a0dc5 |
| ubuntu 16.04 | squid3 | 3.5.12-1ubuntu7.11 |
| ubuntu 16.04-ESM | squid3 | 3.5.12-1ubuntu7.11 |
| ubuntu 18.04 | squid3 | 3.5.27-1ubuntu1.6 |
| ubuntu 18.04-ESM | squid3 | 3.5.27-1ubuntu1.6 |
| ubuntu 19.10 | squid | 4.8-1ubuntu2.3 |
| ubuntu 20.04 | squid | 4.10-1ubuntu1.1 |
| ubuntu 20.04-ESM | squid | 4.10-1ubuntu1.1 |
| ubuntu 20.10 | squid | 4.10-1ubuntu2 |
| ubuntu 21.04 | squid | 4.10-1ubuntu2 |
Referencias
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html
- http://master.squid-cache.org/Versions/v4/changesets/squid-4-eeebf0f37a72a2de08348e85ae34b02c34e9a811.patch
- http://www.openwall.com/lists/oss-security/2020/04/23/2
- http://www.squid-cache.org/Advisories/SQUID-2020_4.txt
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-eeebf0f37a72a2de08348e85ae34b02c34e9a811.patch
- https://access.redhat.com/security/cve/CVE-2020-11945
- https://bugzilla.redhat.com/show_bug.cgi?id=1730535
- https://bugzilla.redhat.com/show_bug.cgi?id=1827552
Las 30 referencias
- https://bugzilla.redhat.com/show_bug.cgi?id=1827563
- https://bugzilla.suse.com/show_bug.cgi?id=1170313
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12519
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12525
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11945
- https://errata.almalinux.org/8/ALSA-2020-2041.html
- https://errata.rockylinux.org/RLSA-2020:2041
- https://github.com/squid-cache/squid/commit/eeebf0f37a72a2de08348e85ae34b02c34e9a811
- https://github.com/squid-cache/squid/pull/585
- https://linux.oracle.com/cve/CVE-2020-11945.html
- https://linux.oracle.com/errata/ELSA-2020-2041.html
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4FWQRYZJPHAZBLXJ56FPCHJN5X2FP3VA/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4MWXEZAJSOGRJSS2JCJK4WBSND4IV46/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RV2VZWFJNO3B56IVN56HHKJASG5DYUIX/
- https://nvd.nist.gov/vuln/detail/CVE-2020-11945
- https://security.gentoo.org/glsa/202005-05
- https://security.netapp.com/advisory/ntap-20210304-0004/
- https://ubuntu.com/security/notices/USN-4356-1
- https://usn.ubuntu.com/4356-1/
- https://www.cve.org/CVERecord?id=CVE-2020-11945
- https://www.debian.org/security/2020/dsa-4682