{"id":"UBUNTU-CVE-2021-24032","details":"Beginning in v1.4.1 and prior to v1.4.9, due to an incomplete fix for CVE-2021-24031, the Zstandard command-line utility created output files with default permissions and restricted those permissions immediately afterwards. Output files could therefore momentarily be readable or writable to unintended parties.","modified":"2026-04-22T14:37:59.036005Z","published":"2021-02-20T00:00:00Z","related":["USN-4760-1","USN-5720-1"],"upstream":["CVE-2021-24032"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-24032"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4760-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5720-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-24032"}],"affected":[{"package":{"name":"libzstd","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libzstd@1.3.1+dfsg-1~ubuntu0.16.04.1+esm3?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1+dfsg-1~ubuntu0.16.04.1+esm3"}]}],"versions":["0.4.5-1","0.5.1-1","1.3.1+dfsg-1~ubuntu0.16.04.1","1.3.1+dfsg-1~ubuntu0.16.04.1+esm1","1.3.1+dfsg-1~ubuntu0.16.04.1+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libzstd1","binary_version":"1.3.1+dfsg-1~ubuntu0.16.04.1+esm3"},{"binary_version":"1.3.1+dfsg-1~ubuntu0.16.04.1+esm3","binary_name":"zstd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-24032.json"}},{"package":{"name":"libzstd","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libzstd@1.3.3+dfsg-2ubuntu1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3+dfsg-2ubuntu1.2"}]}],"versions":["1.3.1+dfsg-1","1.3.2+dfsg-1","1.3.2+dfsg2-1","1.3.3+dfsg-1","1.3.3+dfsg-1ubuntu1","1.3.3+dfsg-2ubuntu1","1.3.3+dfsg-2ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libzstd1","binary_version":"1.3.3+dfsg-2ubuntu1.2"},{"binary_version":"1.3.3+dfsg-2ubuntu1.2","binary_name":"zstd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-24032.json"}},{"package":{"name":"libzstd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libzstd@1.4.4+dfsg-3ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.4+dfsg-3ubuntu0.1"}]}],"versions":["1.4.3+dfsg-1","1.4.4+dfsg-1","1.4.4+dfsg-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.4.4+dfsg-3ubuntu0.1","binary_name":"libzstd1"},{"binary_name":"zstd","binary_version":"1.4.4+dfsg-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-24032.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}