HTTP Request Smuggling Affecting io.netty:netty-codec-http2 package, versions [,4.1.61.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.78% (88th 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-JAVA-IONETTY-1089809
  • published31 Mar 2021
  • disclosed31 Mar 2021
  • creditUnknown

Introduced: 31 Mar 2021

CVE-2021-21409  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

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

Overview

io.netty:netty-codec-http2 is a HTTP2 sub package for the netty library, an event-driven asynchronous network application framework.

Affected versions of this package are vulnerable to HTTP Request Smuggling. The content-length header is not correctly validated if the request only uses a single Http2HeaderFrame with the endStream set to true. This could lead to request smuggling if the request is proxied to a remote peer and translated to HTTP/1.1. This is a follow-up of CVE-2021-21295 which did not fix this specific case.

CVSS Scores

version 3.1