Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-24031

published

zstd: adds read permissions to files while being compressed or uncompressed

Title from Red Hat VEX

Published
04 Mar 2021, 20:15:21 UTC
Updated
03 Aug 2024, 19:21:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Facebook — Zstandard1.4.1 to < unspecified (unaffected · custom) · unspecified to < 1.4.1 (affected · custom) Version-specific Not stated facebook
Alpine Linux edge zstd Fixed 1.4.1-r0 Package fix record
Debian buster libzstd Advisory build 1.3.8+dfsg-3+deb10u1 DSA-4850-1
SUSE / openSUSE SLE-15-SP2 libzstd-develaarch64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
Ubuntu bionic libzstd Advisory build 1.3.3+dfsg-2ubuntu1.2 USN-4760-1
Alpine Linux v3.14 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.15 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.16 zstd Fixed 1.4.1-r0 Package fix record
Show 40 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.17 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.18 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.19 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.20 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.21 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.22 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.23 zstd Fixed 1.4.1-r0 Package fix record
Alpine Linux v3.24 zstd Fixed 1.4.1-r0 Package fix record
Debian stretch libzstd Advisory build 1.1.2-1+deb9u1 DLA-2573-1
SUSE / openSUSE SLE-15-SP2 libzstd-develppc64le Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd-devels390x Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd-develx86_64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd1aarch64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd1ppc64le Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd1s390x Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd1x86_64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 libzstd1-32bitx86_64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 zstdaarch64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 zstdppc64le Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 zstds390x Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-15-SP2 zstdx86_64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-5 libzstd1aarch64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE SLE-5 libzstd1x86_64 Advisory build 1.4.4-1.6.1 SUSE-SU-2021:0948-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd-develi586 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd-develx86_64 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd-devel-statici586 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd-devel-staticx86_64 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd1i586 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd1x86_64 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 libzstd1-32bitx86_64 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 zstdi586 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
SUSE / openSUSE openSUSE-Leap-15.2 zstdx86_64 Advisory build 1.4.4-lp152.2.3.1 OPENSUSE-SU-2021:0481-1
Ubuntu bionic libzstd1 Advisory build 1.3.3+dfsg-2ubuntu1.2 USN-4760-1
Ubuntu bionic zstd Advisory build 1.3.3+dfsg-2ubuntu1.2 USN-4760-1
Ubuntu focal libzstd Advisory build 1.4.4+dfsg-3ubuntu0.1 USN-4760-1
Ubuntu focal libzstd1 Advisory build 1.4.4+dfsg-3ubuntu0.1 USN-4760-1
Ubuntu focal zstd Advisory build 1.4.4+dfsg-3ubuntu0.1 USN-4760-1
Ubuntu xenial libzstd Advisory build 1.3.1+dfsg-1~ubuntu0.16.04.1+esm3 USN-5720-1
Ubuntu xenial libzstd1 Advisory build 1.3.1+dfsg-1~ubuntu0.16.04.1+esm3 USN-5720-1
Ubuntu xenial zstd Advisory build 1.3.1+dfsg-1~ubuntu0.16.04.1+esm3 USN-5720-1

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.

en · facebook · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Facebook Zstandard 1.4.1 to < unspecified (unaffected · custom)unspecified to < 1.4.1 (affected · custom) facebook · cna

Weaknesses

1
  • CWE-277 Insecure Inherited Permissions (CWE-277) (facebook · cna)

References

3

Provider assertions

2

facebook · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
7ff3bf3d6b08946bba7e48d79a1138ba489a8c71e1583af7331d4945138f032b
Ingested
23 Sep 2026, 07:52:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected