{"id":"UBUNTU-CVE-2021-41772","details":"Go before 1.16.10 and 1.17.x before 1.17.3 allows an archive/zip Reader.Open panic via a crafted ZIP archive containing an invalid name or an empty filename field.","modified":"2025-10-24T04:50:35Z","published":"2021-11-08T06:15:00Z","upstream":["CVE-2021-41772"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-41772"},{"type":"REPORT","url":"https://github.com/golang/go/issues/48085"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/0fM21h43arc"},{"type":"REPORT","url":"https://github.com/golang/go/commit/b212ba68296b503b395e7d1838ca72a19030a6bf"},{"type":"REPORT","url":"https://github.com/golang/go/commit/88407a8dd98411f1730907dc8a69b99488af0052"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-41772"}],"affected":[{"package":{"name":"golang-1.16","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.2-0ubuntu1~18.04.2","1.16.2-0ubuntu1~18.04.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16.2-0ubuntu1~18.04.2+esm1","binary_name":"golang-1.16"},{"binary_version":"1.16.2-0ubuntu1~18.04.2+esm1","binary_name":"golang-1.16-go"},{"binary_version":"1.16.2-0ubuntu1~18.04.2+esm1","binary_name":"golang-1.16-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41772.json"}},{"package":{"name":"golang-1.8","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.3-2ubuntu1","1.8.3-2ubuntu1.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8-go"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8-go-shared-dev"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8-src"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"libgolang-1.8-std1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41772.json"}},{"package":{"name":"golang-1.16","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.2-0ubuntu1~20.04","1.16.2-0ubuntu1~20.04.1","1.16.2-0ubuntu1~20.04.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16.2-0ubuntu1~20.04.1+esm1","binary_name":"golang-1.16"},{"binary_version":"1.16.2-0ubuntu1~20.04.1+esm1","binary_name":"golang-1.16-go"},{"binary_version":"1.16.2-0ubuntu1~20.04.1+esm1","binary_name":"golang-1.16-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41772.json"}},{"package":{"name":"golang-1.17","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17-1ubuntu2","1.17.3-1ubuntu1","1.17.3-1ubuntu2","1.17.13-3ubuntu1","1.17.13-3ubuntu1.2","1.17.13-3ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.17.13-3ubuntu1.3","binary_name":"golang-1.17"},{"binary_version":"1.17.13-3ubuntu1.3","binary_name":"golang-1.17-go"},{"binary_version":"1.17.13-3ubuntu1.3","binary_name":"golang-1.17-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41772.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}