Skip to content
OpenAdvisories
Unscored CVE-2021-24031 EUVD-2021-10951GHSA-5mqj-v3fr-pg3x

In the Zstandard command-line utility prior to v1.4.1, output files were created with default permissions. Correct file permissions (matchi…

Published Mar 4, 2021 · Updated Aug 3, 2024 · Assigned by facebook

Description

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.

Affected products

VendorProductAffectedFixed
Facebook Zstandard unspecified – < 1.4.1 1.4.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libzstd 1.4.8+dfsg-1 —
Debian 13 libzstd 1.4.8+dfsg-1 —
Debian 12 libzstd 1.4.8+dfsg-1 —
Debian 10 libzstd 1.3.8+dfsg-3+deb10u1 DSA-4850-1
Debian 9 libzstd 1.1.2-1+deb9u1 DLA-2573-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libzstd 1.4.4+dfsg-3ubuntu0.1 USN-4760-1
Ubuntu 18.04 LTS libzstd 1.3.3+dfsg-2ubuntu1.2 USN-4760-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libzstd 1.3.1+dfsg-1~ubuntu0.16.04.1+esm3 USN-5720-1
ReleasePackageFixed inAdvisory
SLES 15 SP2 zstd 1.4.4-1.6.1 SUSE-SU-2021:0948-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.0 zstd 1.4.4-1.6.1 SUSE-SU-2021:0948-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 zstd 1.4.4-lp152.2.3.1 openSUSE-SU-2021:0481-1
ReleasePackageFixed inAdvisory
Alpine v3.24 zstd 1.4.1-r0 —
Alpine v3.23 zstd 1.4.1-r0 —
Alpine v3.22 zstd 1.4.1-r0 —
Alpine v3.21 zstd 1.4.1-r0 —
Alpine v3.20 zstd 1.4.1-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 zstd 1.4.1-r0 —
Alpine v3.18 zstd 1.4.1-r0 —
Alpine v3.17 zstd 1.4.1-r0 —
Alpine v3.16 zstd 1.4.1-r0 —
Alpine v3.15 zstd 1.4.1-r0 —
Alpine v3.14 zstd 1.4.1-r0 —

Advisories 6

References