ALAS2022-2022-144

Related Vulnerabilities: CVE-2022-27664   CVE-2022-32190  

In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error. (CVE-2022-27664) JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result. (CVE-2022-32190)

ALAS2022-2022-144


Amazon Linux 2022 Security Advisory: ALAS-2022-144
Advisory Release Date: 2022-09-26 22:01 Pacific
Advisory Updated Date: 2022-09-29 17:53 Pacific
Severity: Medium

Issue Overview:

In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error. (CVE-2022-27664)

JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result. (CVE-2022-32190)


Affected Packages:

golang


Issue Correction:
Run dnf update golang --releasever=2022.0.20220928 to update your system.

New Packages:
aarch64:
    golang-1.19.1-1.amzn2022.0.1.aarch64
    golang-bin-1.19.1-1.amzn2022.0.1.aarch64
    golang-shared-1.19.1-1.amzn2022.0.1.aarch64

i686:
    golang-bin-1.19.1-1.amzn2022.0.1.i686
    golang-shared-1.19.1-1.amzn2022.0.1.i686
    golang-1.19.1-1.amzn2022.0.1.i686

noarch:
    golang-docs-1.19.1-1.amzn2022.0.1.noarch
    golang-misc-1.19.1-1.amzn2022.0.1.noarch
    golang-src-1.19.1-1.amzn2022.0.1.noarch
    golang-tests-1.19.1-1.amzn2022.0.1.noarch

src:
    golang-1.19.1-1.amzn2022.0.1.src

x86_64:
    golang-1.19.1-1.amzn2022.0.1.x86_64
    golang-bin-1.19.1-1.amzn2022.0.1.x86_64
    golang-race-1.19.1-1.amzn2022.0.1.x86_64
    golang-shared-1.19.1-1.amzn2022.0.1.x86_64