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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 95%
VendorProductVersion
gnucpio
𝑥
≤ 2.13
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
cpio
bullseye
2.13+dfsg-7.1~deb11u1
fixed
stretch
no-dsa
bookworm
2.13+dfsg-7.1
fixed
sid
2.15+dfsg-2
fixed
trixie
2.15+dfsg-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
cpio
lunar
Fixed 2.13+dfsg-4ubuntu4
released
kinetic
Fixed 2.13+dfsg-4ubuntu4
released
jammy
Fixed 2.13+dfsg-4ubuntu4
released
impish
Fixed 2.13+dfsg-4ubuntu4
released
hirsute
Fixed 2.13+dfsg-4ubuntu0.3
released
focal
Fixed 2.13+dfsg-2ubuntu0.3
released
bionic
Fixed 2.12+dfsg-6ubuntu0.18.04.4
released
xenial
Fixed 2.11+dfsg-5ubuntu1.1+esm1
released
trusty
Fixed 2.11+dfsg-1ubuntu1.2+esm2
released