Integer overflow in Gnu Cpio
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 w…
Vulnerability class: Integer Overflow
EPSS: 0.042 (89.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Gnu Cpio
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Third Party Advisory)
- cve@mitre.org (Exploit, Mailing List, Vendor Advisory)
- cve@mitre.org (Exploit, Mailing List, Vendor Advisory)
- cve@mitre.org (Patch, Third Party Advisory)
- cve@mitre.org (mailing-list)
Frequently asked questions
- What is CVE-2021-38185?
- CVE-2021-38185 is a high-severity vulnerability in Gnu Cpio, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2021-08-08.
- How severe is CVE-2021-38185?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2021-38185 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.