Skip to content
OpenAdvisories
High ALAS2-2022-1830 3 CVEs

Important: golang security update (Amazon Linux 2)

Published Jul 28, 2022 · Updated Sep 23, 2025

Summary

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.

Fixed packages 8

ReleasePackageFixed in
Amazon Linux · 2 golang 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-bin 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-docs 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-misc 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-race 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-shared 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-src 0:1.18.3-1.amzn2
Amazon Linux · 2 golang-tests 0:1.18.3-1.amzn2

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-29652.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-24675.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-28327.html