QID 354133

Date Published: 2022-12-08

QID 354133: Amazon Linux Security Advisory for golang : ALAS2-2022-1887

Reader.
Read does not set a limit on the maximum size of file headers.
A maliciously crafted archive could cause read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics.
After fix, reader.
Read limits the maximum size of header blocks to 1 mib. (cve-2022-2879) no description is available for this( CVE. (
( CVE-2022-41715) due to unsanitized nul values, attackers may be able to maliciously set environment variables on windows.
In syscall.
Startprocess and os/exec.
Cmd, invalid environment variable values containing nul values are not properly checked for.
A malicious environment variable value can exploit this behavior to set a value for a different environment variable.
For example, the environment variable string "a=b\x00c=d" sets the variables "a=b" and "c=d". (
( CVE-2022-41716)



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.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2022-1887 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354133

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2022-1887 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2022-1887.html