#VU64266 Buffer overflow in Go programming language - CVE-2022-24675


| Updated: 2022-07-20

Vulnerability identifier: #VU64266

Vulnerability risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2022-24675

CWE-ID: CWE-120

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Go programming language
Universal components / Libraries / Scripting languages

Vendor: Google

Description

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

The vulnerability exists in the Golang's library encoding/pem. A remote attacker can send to victim a large (more than 5 MB) PEM input to cause a stack overflow in Decode and perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Go programming language: 1, 1.0 - 1.0.3, 1.1 - 1.18, 1.2 - 1.2.2, 1.3 - 1.3.3, 1.4 - 1.4.3, 1.5 - 1.5.4, 1.6 - 1.6.4, 1.7 - 1.7.6, 1.8 - 1.8.7, 1.9 - 1.9.7


External links
https://groups.google.com/g/golang-announce
https://groups.google.com/g/golang-announce/c/oecdBNLOml8
https://bugzilla.redhat.com/show_bug.cgi?id=2077688


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability