Vulnerability Name:

CVE-2021-24031 (CCN-197737)

Assigned:2021-03-01
Published:2021-03-01
Updated:2021-04-14
Summary: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.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
4.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
9.1 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
7.9 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): None
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
9.4 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): None
Vulnerability Type:CWE-276
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2021-24031

Source: MISC
Type: Exploit, Issue Tracking, Mailing List, Third Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981404

Source: XF
Type: UNKNOWN
facebook-cve202124031-sec-bypass(197737)

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://github.com/facebook/zstd/issues/1630

Source: CCN
Type: Facebook Web site
CVE-2021-24031

Source: MISC
Type: Vendor Advisory
https://www.facebook.com/security/advisories/cve-2021-24031

Vulnerable Configuration:Configuration 1:
  • cpe:/a:facebook:zstandard:*:*:*:*:*:*:*:* (Version < 1.4.1)

  • Configuration CCN 1:
  • cpe:/a:facebook:zstandard:1.4.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:3586
    P
    libdmx1-1.1.3-3.51 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94698
    P
    librrd8-1.7.0-6.3.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:237
    P
    libzstd-devel-1.4.4-1.6.1 on GA media (Moderate)
    2022-06-13
    oval:org.opensuse.security:def:1166
    P
    Security update for openldap2 (Important)
    2022-05-16
    oval:org.opensuse.security:def:102252
    P
    Security update for mariadb (Important)
    2022-03-04
    oval:org.opensuse.security:def:101411
    P
    xen-4.14.1_16-1.6 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:71996
    P
    libzstd-devel-1.4.4-1.6.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:62255
    P
    libzstd-devel-1.4.4-1.6.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:5991
    P
    Security update for MozillaFirefox (Important)
    2021-03-31
    oval:org.opensuse.security:def:111293
    P
    Security update for zstd (Moderate)
    2021-03-27
    oval:org.opensuse.security:def:117591
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:95539
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:97344
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:100719
    P
    (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:64675
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:73797
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:67080
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:76148
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:108077
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:42163
    P
    Security update for zstd (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:100386
    P
    (Moderate)
    2021-03-24
    oval:org.opensuse.security:def:108918
    P
    Security update for zstd (Moderate)
    2021-03-24
    BACK
    facebook zstandard *
    facebook zstandard 1.4.0