{"id":"UBUNTU-CVE-2021-28116","details":"Squid through 4.14 and 5.x through 5.0.5, in some configurations, allows information disclosure because of an out-of-bounds read in WCCP protocol data. This can be leveraged as part of a chain for remote code execution as nobody.","modified":"2026-01-30T00:35:06.177321Z","published":"2021-03-09T22:15:00Z","related":["USN-5104-1"],"upstream":["CVE-2021-28116"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-28116"},{"type":"REPORT","url":"https://www.zerodayinitiative.com/advisories/ZDI-21-157/"},{"type":"REPORT","url":"http://www.squid-cache.org/Versions/"},{"type":"REPORT","url":"https://github.com/squid-cache/squid/security/advisories/GHSA-rgf3-9v3p-qp82"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/10/04/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5104-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-28116"}],"affected":[{"package":{"name":"squid3","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.16+esm6?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.8-1ubuntu16","3.3.8-1ubuntu17","3.5.12-1ubuntu6","3.5.12-1ubuntu7","3.5.12-1ubuntu7.1","3.5.12-1ubuntu7.2","3.5.12-1ubuntu7.3","3.5.12-1ubuntu7.4","3.5.12-1ubuntu7.5","3.5.12-1ubuntu7.6","3.5.12-1ubuntu7.7","3.5.12-1ubuntu7.8","3.5.12-1ubuntu7.9","3.5.12-1ubuntu7.10","3.5.12-1ubuntu7.11","3.5.12-1ubuntu7.12","3.5.12-1ubuntu7.13","3.5.12-1ubuntu7.14","3.5.12-1ubuntu7.15","3.5.12-1ubuntu7.16","3.5.12-1ubuntu7.16+esm1","3.5.12-1ubuntu7.16+esm2","3.5.12-1ubuntu7.16+esm3","3.5.12-1ubuntu7.16+esm4","3.5.12-1ubuntu7.16+esm5","3.5.12-1ubuntu7.16+esm6"],"ecosystem_specific":{"binaries":[{"binary_name":"squid","binary_version":"3.5.12-1ubuntu7.16+esm6"},{"binary_name":"squid-cgi","binary_version":"3.5.12-1ubuntu7.16+esm6"},{"binary_name":"squid-common","binary_version":"3.5.12-1ubuntu7.16+esm6"},{"binary_name":"squid-purge","binary_version":"3.5.12-1ubuntu7.16+esm6"},{"binary_name":"squid3","binary_version":"3.5.12-1ubuntu7.16+esm6"},{"binary_name":"squidclient","binary_version":"3.5.12-1ubuntu7.16+esm6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28116.json"}},{"package":{"name":"squid3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.12?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27-1ubuntu1.12"}]}],"versions":["3.5.23-5ubuntu1","3.5.23-5ubuntu2","3.5.27-1ubuntu1","3.5.27-1ubuntu1.1","3.5.27-1ubuntu1.2","3.5.27-1ubuntu1.3","3.5.27-1ubuntu1.4","3.5.27-1ubuntu1.5","3.5.27-1ubuntu1.6","3.5.27-1ubuntu1.7","3.5.27-1ubuntu1.8","3.5.27-1ubuntu1.9","3.5.27-1ubuntu1.10","3.5.27-1ubuntu1.11"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"squid","binary_version":"3.5.27-1ubuntu1.12"},{"binary_name":"squid-cgi","binary_version":"3.5.27-1ubuntu1.12"},{"binary_name":"squid-common","binary_version":"3.5.27-1ubuntu1.12"},{"binary_name":"squid-purge","binary_version":"3.5.27-1ubuntu1.12"},{"binary_name":"squid3","binary_version":"3.5.27-1ubuntu1.12"},{"binary_name":"squidclient","binary_version":"3.5.27-1ubuntu1.12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28116.json"}},{"package":{"name":"squid","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/squid@4.10-1ubuntu1.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.10-1ubuntu1.5"}]}],"versions":["4.8-1ubuntu2","4.8-1ubuntu3","4.9-2ubuntu1","4.9-2ubuntu2","4.9-2ubuntu3","4.9-2ubuntu4","4.10-1ubuntu1","4.10-1ubuntu1.1","4.10-1ubuntu1.2","4.10-1ubuntu1.3","4.10-1ubuntu1.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"squid","binary_version":"4.10-1ubuntu1.5"},{"binary_name":"squid-cgi","binary_version":"4.10-1ubuntu1.5"},{"binary_name":"squid-common","binary_version":"4.10-1ubuntu1.5"},{"binary_name":"squid-purge","binary_version":"4.10-1ubuntu1.5"},{"binary_version":"4.10-1ubuntu1.5","binary_name":"squidclient"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28116.json"}},{"package":{"name":"squid","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/squid@4.13-10ubuntu5?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.13-10ubuntu5"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"squid","binary_version":"4.13-10ubuntu5"},{"binary_name":"squid-cgi","binary_version":"4.13-10ubuntu5"},{"binary_name":"squid-common","binary_version":"4.13-10ubuntu5"},{"binary_name":"squid-openssl","binary_version":"4.13-10ubuntu5"},{"binary_name":"squid-purge","binary_version":"4.13-10ubuntu5"},{"binary_name":"squidclient","binary_version":"4.13-10ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28116.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}