Amazon Linux 2 Security Advisory: ALAS-2021-1657
Advisory Release Date: 2021-06-16 20:37 Pacific
Advisory Updated Date: 2021-06-22 21:44 Pacific
A vulnerability was found in net/http of the Go standard library when parsing very large HTTP header values, causing a crash and subsequent denial of service. This vulnerability affects both clients and servers written in Go, however servers are only vulnerable if the default 1 MB value for MaxHeaderBytes is increased. (CVE-2021-31525)
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.
aarch64:
golang-1.15.12-1.amzn2.0.1.aarch64
golang-bin-1.15.12-1.amzn2.0.1.aarch64
noarch:
golang-docs-1.15.12-1.amzn2.0.1.noarch
golang-misc-1.15.12-1.amzn2.0.1.noarch
golang-tests-1.15.12-1.amzn2.0.1.noarch
golang-src-1.15.12-1.amzn2.0.1.noarch
src:
golang-1.15.12-1.amzn2.0.1.src
x86_64:
golang-1.15.12-1.amzn2.0.1.x86_64
golang-bin-1.15.12-1.amzn2.0.1.x86_64
golang-race-1.15.12-1.amzn2.0.1.x86_64