VULNERABILITY INTELLIGENCE
CVE-2021-38185
CVSS score7.8 HIGH
EPSS probability4.17%
CISA KEVNot currently listed
Published2021-08-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- nvd@nist.gov: CWE-190
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-190
Primary references
- cve@mitre.org — Patch, Third Party Advisory
- cve@mitre.org — Exploit, Third Party Advisory
- cve@mitre.org
- cve@mitre.org — Exploit, Mailing List, Vendor Advisory
- cve@mitre.org — Exploit, Mailing List, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Mailing List, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Mailing List, Vendor Advisory