Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-6357.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-6357
Upstream
Published
2021-08-08T00:15:07Z
Modified
2026-04-01T05:20:47.463243Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CVE-2021-38185 affecting package cpio for versions less than 2.13-4
Details

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.

References

Affected packages

Azure Linux:2 / cpio

Package

Name
cpio
Purl
pkg:rpm/azure-linux/cpio

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.13-4

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-6357.json"