CVE Feed

    Dashboard / CVE / CVE-2021-38185

    CVE-2021-38185

    GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data.

    Published:Aug 6, 2021
    Last Modified:Jun 9, 2025
    EPS:Aug 7, 2021
    EPSS Score:0.27892
    CVSS Score:7.8

    Affected Products

    Vendor
    Gnu
    Product
    Cpio
    Vendor
    Redhat
    Product
    Enterprise Linux

    Common Attack Pattern Enumeration and Classification (CAPEC)

    Related CVEs

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High