Buffer Overflow Vulnerability in Go's PEM Decoder
CVE-2022-24675
7.5HIGH
Key Information:
Badges
👾 Exploit Exists🟡 Public PoC
What is CVE-2022-24675?
A buffer overflow vulnerability exists in the encoding/pem module of Go, affecting versions prior to 1.17.9 and 1.18.1. This flaw allows an attacker to exploit the Decode function with a large amount of PEM data, potentially leading to a stack overflow, which may compromise the application using this module. It is imperative for users to upgrade to the latest versions to mitigate this risk.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.