Skip to content
pkgseek
Back to CVE search

CVE-2021-38185

high · 7.8

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.

First indexed 8/8/2021View on NVD

Advisory Facts

Markdown

CVE-2021-38185 is rated HIGH (7.8), with 3 indexed affected package builds across 3 distributions.

Severity / Score
HIGH (7.8)
Affected builds
3
Affected distros
3
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-38185?locale=en

Distribution-aware status

3
Distributions
3
Package/release records
4
Vendor advisories
3
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

3 affected package/release combinations

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.