Multiple vulnerabilities in Go programming language



Published: 2023-03-01 | Updated: 2023-03-15
Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2022-41723
CVE-2022-41724
CVE-2022-41725
CVE-2022-41722
CWE-ID CWE-400
CWE-399
CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Go programming language
Universal components / Libraries / Scripting languages

Vendor Google

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Resource exhaustion

EUVDB-ID: #VU72686

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-41723

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources in the HPACK decoder. A remote attacker can send a specially crafted HTTP/2 stream to the application, cause resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Go programming language: 1.2 - 1.20, 1.1 - 1.19.5, 1.18 - 1.18.10, 1.17 - 1.17.13, 1.16 - 1.16.15, 1.15 - 1.15.15, 1.14 - 1.14.15, 1.13 - 1.13.15, 1.12 - 1.12.17, 1.11 - 1.11beta3, 1.10 - 1.10.8, 1.9 - 1.9.7, 1.8 - 1.8.7, 1.7 - 1.7.6, 1.6 - 1.6.4, 1.5 - 1.5.4, 1.4 - 1.4.3, 1.3 - 1.3.3, 1.0 - 1.0.3


CPE2.3 External links

http://go.dev/cl/468135
http://go.dev/issue/57855
http://go.dev/cl/468295
http://pkg.go.dev/vuln/GO-2023-1571
http://groups.google.com/g/golang-announce/c/V0aBFqaFs_E


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Resource management error

EUVDB-ID: #VU72685

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-41724

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources in crypto/tls when handling large TLS handshake records. A remote attacker can send specially crafted data to the application and perform a denial of service (DoS) attack.

The vulnerability affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Go programming language: 1.2 - 1.20, 1.1 - 1.19.5, 1.18 - 1.18.10, 1.17 - 1.17.13, 1.16 - 1.16.15, 1.15 - 1.15.15, 1.14 - 1.14.15, 1.13 - 1.13.15, 1.12 - 1.12.17, 1.11 - 1.11beta3, 1.10 - 1.10.8, 1.9 - 1.9.7, 1.8 - 1.8.7, 1.7 - 1.7.6, 1.6 - 1.6.4, 1.5 - 1.5.4, 1.4 - 1.4.3, 1.3 - 1.3.3, 1.0 - 1.0.3


CPE2.3 External links

http://groups.google.com/g/golang-announce/c/V0aBFqaFs_E
http://pkg.go.dev/vuln/GO-2023-1570
http://go.dev/cl/468125
http://go.dev/issue/58001


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

3) Resource exhaustion

EUVDB-ID: #VU73722

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-41725

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper control over internal resources in net/http and mime/multipart. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Go programming language: 1.20, 1.19 - 1.19.5


CPE2.3 External links

http://go.dev/issue/58006
http://go.dev/cl/468124
http://pkg.go.dev/vuln/GO-2023-1569
http://groups.google.com/g/golang-announce/c/V0aBFqaFs_E


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

4) Path traversal

EUVDB-ID: #VU73721

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-41722

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the filepath.Clean() function on Windows, which can transform an invalid path such as "a/../c:/b" into the valid path "c:". As a result, an attacker can read arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Go programming language: 1.19 - 1.19.5, 1.20


CPE2.3 External links

http://pkg.go.dev/vuln/GO-2023-1568
http://go.dev/cl/468123
http://groups.google.com/g/golang-announce/c/V0aBFqaFs_E
http://go.dev/issue/57274


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###