Netty <4.1.86.Final: StackOverflow via malformed HAProxyMsg decoder
CVE-2022-41881 Published on December 12, 2022
Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. This issue is patched in version 4.1.86.Final. There is no workaround, except using a custom HaProxyMessageDecoder.
Vulnerability Analysis
CVE-2022-41881 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.
Weakness Type
What is a Stack Exhaustion Vulnerability?
The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.
CVE-2022-41881 has been classified to as a Stack Exhaustion vulnerability or weakness.
Products Associated with CVE-2022-41881
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-41881 are published in these products:
Affected Versions
netty Version < 4.1.86.Final is affected by CVE-2022-41881Vulnerable Packages
The following package name and versions may be associated with CVE-2022-41881
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | io.netty:netty-codec-haproxy | < 4.1.86.Final | 4.1.86.Final |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.