ADVISORIES

Amazon Linux Security Advisory

ALAS2-2022-1830

Amazon Linux 2 2017.12 - ALAS2-2022-1830: important priority package update for golang

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-28327: An integer overflow flaw was found in Golang's crypto/elliptic library. This flaw allows an attacker to use a crafted scaler input longer than 32 bytes, causing P256().ScalarMult or P256().ScalarBaseMult to panic, leading to a loss of availability.

CVE-2022-24675: A buffer overflow flaw was found in Golang's library encoding/pem. This flaw allows an attacker to use a large PEM input (more than 5 MB) ), causing a stack overflow in Decode, which leads to a loss of availability.

CVE-2020-29652: A null pointer dereference vulnerability was found in golang. When using the library's ssh server without specifying an option for GSSAPIWithMICConfig, it is possible for an attacker to craft an ssh client connection using the authentication method and cause the server to panic resulting in a denial of service. The highest threat from this vulnerability is to system availability.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2golang
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-bin
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-docs
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-misc
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-race
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-shared
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-src
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)
Amazon Linux:2golang-tests
All versions before 1.18.3-1.amzn2 (fixed in 1.18.3-1.amzn2)

References