Uncontrolled Memory Allocation Affecting io.netty:netty-codec package, versions [4.1.0.Final, 4.1.46.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    1.13% (85th 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 ID SNYK-JAVA-IONETTY-564897
  • published 7 Apr 2020
  • disclosed 7 Apr 2020
  • credit Scott Mitchell

How to fix?

Upgrade io.netty:netty-codec to version 4.1.46.Final or higher.

Overview

io.netty:netty-codec is an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to Uncontrolled Memory Allocation while decoding a ZlibEncoded byte stream. An attacker could send a large ZlibEncoded byte stream to the Netty server, forcing the server to allocate all of its free memory to a single decoder.

References

CVSS Scores

version 3.1
Expand this section

Snyk

8.2 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    High
Expand this section

NVD

7.5 high
Expand this section

Red Hat

7.5 high