{"id":"UBUNTU-CVE-2021-44717","details":"Go before 1.16.12 and 1.17.x before 1.17.5 on UNIX allows write operations to an unintended file or unintended network connection as a consequence of erroneous closing of file descriptor 0 after file-descriptor exhaustion.","modified":"2025-10-24T04:50:37Z","published":"2022-01-01T05:15:00Z","upstream":["CVE-2021-44717"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44717"},{"type":"REPORT","url":"https://github.com/golang/go/issues/50057"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/hcmEScgc00k/m/ZWnOjeY4CQAJ"},{"type":"REPORT","url":"https://github.com/golang/go/commit/44a3fb49d99cc8a4de4925b69650f97bb07faf1d"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-44717"}],"affected":[{"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_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","binary_version":"1.8.3-2ubuntu1.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44717.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_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","binary_version":"1.17.13-3ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44717.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:L/A:N"},{"type":"Ubuntu","score":"medium"}]}