Uncontrolled Recursion Affecting netty package, versions <1:4.1.45-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.1% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-NETTY-3168295
  • published24 Feb 2025
  • disclosed12 Dec 2022

Introduced: 12 Dec 2022

CVE-2022-41881  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 netty to version 1:4.1.45-1ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream netty package and not the netty package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1