Out-of-bounds Write The advisory has been revoked - it doesn't affect any version of package cpio-debugsource  (opens in a new tab)


Threat Intelligence

EPSS
4.17% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-CPIODEBUGSOURCE-1565450
  • published17 Aug 2021
  • disclosed6 Aug 2021

Introduced: 6 Aug 2021

CVE-2021-38185  (opens in a new tab)
CWE-787  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:8.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cpio-debugsource package and not the cpio-debugsource package as distributed by RHEL.

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.