CVE-2021-24031

libzstd1: In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions

CVE-2021-24031 is fixed in 2 products on 1 platform, first by libzstd1 1.3.3+dfsg-2ubuntu1.2, released February 19, 2021. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0047
40th percentile

In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions. Correct file permissions (matching the input) would only be set at completion time. Output files could therefore be readable or writable to unintended parties.

Where it's fixed

ProductFixed inFixReleased
Linux
libzstd1 · Ubuntu 18.04.6 LTS (bionic) 1.3.3+dfsg-2ubuntu1.2 libzstd1 1.3.3+dfsg-2ubuntu1.2 Feb 19, 2021
libzstd1 · Ubuntu 20.04 LTS (focal) 1.4.4+dfsg-3ubuntu0.1 libzstd1 1.4.4+dfsg-3ubuntu0.1 Feb 19, 2021
zstd · Ubuntu 18.04.6 LTS (bionic) 1.3.3+dfsg-2ubuntu1.2 zstd 1.3.3+dfsg-2ubuntu1.2 Feb 19, 2021
zstd · Ubuntu 20.04 LTS (focal) 1.4.4+dfsg-3ubuntu0.1 zstd 1.4.4+dfsg-3ubuntu0.1 Feb 19, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.