CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Gnu

CVE-2021-38185
Gnu Cpio vulnerability

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.

Affected products

Cpio. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gnu Cpio runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Gnu products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.