ALAS2-2022-1887


Amazon Linux 2 Security Advisory: ALAS-2022-1887
Advisory Release Date: 2022-12-01 20:31 Pacific
Advisory Updated Date: 2022-12-06 22:41 Pacific
Severity: Important

Issue Overview:

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)


Affected Packages:

golang


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update golang to update your system.

New Packages:
aarch64:
    golang-1.18.8-1.amzn2.0.1.aarch64
    golang-bin-1.18.8-1.amzn2.0.1.aarch64
    golang-shared-1.18.8-1.amzn2.0.1.aarch64

noarch:
    golang-docs-1.18.8-1.amzn2.0.1.noarch
    golang-misc-1.18.8-1.amzn2.0.1.noarch
    golang-tests-1.18.8-1.amzn2.0.1.noarch
    golang-src-1.18.8-1.amzn2.0.1.noarch

src:
    golang-1.18.8-1.amzn2.0.1.src

x86_64:
    golang-1.18.8-1.amzn2.0.1.x86_64
    golang-bin-1.18.8-1.amzn2.0.1.x86_64
    golang-shared-1.18.8-1.amzn2.0.1.x86_64
    golang-race-1.18.8-1.amzn2.0.1.x86_64