QID 354707

Date Published: 2023-01-30

QID 354707: Amazon Linux Security Advisory for cpio : ALAS2022-2023-263

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. (
( CVE-2021-38185)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2023-263 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354707

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2023-263 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2023-263.html