ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2023-047

Amazon Linux 2023 - ALAS2023-2023-047: Important priority package update for golang-github-cpuguy83-md2man

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-32148: Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the value of the X-Forwarded-For header.

CVE-2022-30635: A flaw was found in golang. When calling Decoder.Decode on a message that contains deeply nested structures, a panic can occur due to stack exhaustion and allows an attacker to impact system availability.

CVE-2022-30633: Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the any field tag.

CVE-2022-30632: A flaw was found in golang. Calling Glob on a path that contains a large number of path separators can cause a panic issue due to stack exhaustion. This can cause an attacker to impact availability.

CVE-2022-30631: A flaw was found in golang. Calling the Reader.Read method on an archive that contains a large number of concatenated 0-length compressed files can cause a panic issue due to stack exhaustion.

CVE-2022-30630: A flaw was found in the golang standard library, io/fs. Calling Glob on a path that contains a large number of path separators can cause a panic issue due to stack exhaustion. This could allow an attacker to impact availability.

CVE-2022-30629: Non-random values for ticket_age_add in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.3 allow an attacker that can observe TLS handshakes to correlate successive connections by comparing ticket ages during session resumption.

CVE-2022-29526: Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.

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-28131: A flaw was found in golang encoding/xml. When calling Decoder.Skip while parsing a deeply nested XML document, a panic can occur due to stack exhaustion and allows an attacker to impact system availability.

CVE-2022-27191: A broken cryptographic algorithm flaw was found in golang.org/x/crypto/ssh. This issue causes a client to fail authentification with RSA keys to servers that reject signature algorithms based on SHA-2, enabling an attacker to crash the server, resulting in 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-2022-1962: Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.

CVE-2022-1705: Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling if combined with an intermediate server that also improperly fails to reject the header as invalid.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023compat-golang-github-cpuguy83-md2man-2-devel
All versions before 2.0.2-22.amzn2023.0.2 (fixed in 2.0.2-22.amzn2023.0.2)
Amazon Linux:2023golang-github-cpuguy83-md2man
All versions before 2.0.2-22.amzn2023.0.2 (fixed in 2.0.2-22.amzn2023.0.2)
Amazon Linux:2023golang-github-cpuguy83-md2man-debuginfo
All versions before 2.0.2-22.amzn2023.0.2 (fixed in 2.0.2-22.amzn2023.0.2)
Amazon Linux:2023golang-github-cpuguy83-md2man-debugsource
All versions before 2.0.2-22.amzn2023.0.2 (fixed in 2.0.2-22.amzn2023.0.2)
Amazon Linux:2023golang-github-cpuguy83-md2man-devel
All versions before 2.0.2-22.amzn2023.0.2 (fixed in 2.0.2-22.amzn2023.0.2)

References