CVE-2021-24031

Source
https://cve.org/CVERecord?id=CVE-2021-24031
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-24031.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-24031
Downstream
Related
Published
2021-03-04T21:15:12.743Z
Modified
2026-03-14T10:47:10.914398Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/facebook/zstd

Affected ranges

Type
GIT
Repo
https://github.com/facebook/zstd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.4.1"
        }
    ]
}

Affected versions

Other
fuzz-corpora
fuzz-corpora2
vxyz
v0.*
v0.0.29
v0.1.0
v0.1.1
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.8.0
v0.8.1
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.1.2
v1.3.7
v1.3.8
v1.4.0
zstd-0.*
zstd-0.1.2
zstd-0.1.3
zstd-0.2.0
zstd-0.2.1
zstd-0.2.2
zstd-0.3.0
zstd-0.3.1
zstd-0.3.2
zstd-0.3.3
zstd-0.3.4
zstd-0.3.5
zstd-0.3.6
zstd-0.4.0
zstd-0.4.1
zstd-0.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-24031.json"