Netty · Netty · CVE-2022-41881
**Name of the Vulnerable Software and Affected Versions**
Netty versions prior to 4.1.86.Final
**Description**
The issue is related to an infinite recursion when parsing a malformed crafted message, which can lead to a StackOverflowError. This can be exploited by a remote attacker to cause a denial of service. The recursion occurs when parsing a TLV with type = PP2 TYPE SSL, where the value can be another TLV with the same type, and so on. The only limitation to the recursion is the TLV length, which cannot exceed 0xffff due to its encoding in an unsigned short type. Providing a TLV with a sufficiently large nesting level can cause a StackOverflowError.
**Recommendations**
For versions prior to 4.1.86.Final, upgrade to version 4.1.86.Final to resolve the issue. As a temporary workaround, consider using a custom HaProxyMessageDecoder.