Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package cpio-lang  (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-SLES153-CPIOLANG-2668342
  • published14 Apr 2022
  • disclosed16 Aug 2021

Introduced: 16 Aug 2021

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

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.3.

NVD Description

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

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.