Vulnerability · Published Dec 9, 2021 · Assigned by GitHub_M

CVE-2021-43797HTTP fails to validate against control chars in header names which may lead to HTTP request smuggling

Medium 6.5

In plain English

A medium-severity security flaw in netty from netty. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)2.9%top 13.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12netty1:4.1.48-6DEBIAN-CVE-2021-43797
Debian:13netty1:4.1.48-6DEBIAN-CVE-2021-43797
Debian:14netty1:4.1.48-6DEBIAN-CVE-2021-43797
Mavenio.netty:nettyno fix listedGHSA-wx5j-54mm-rqqq
Mavenio.netty:netty-codec-http4.1.71.FinalGHSA-wx5j-54mm-rqqq
Mavenorg.jboss.netty:nettyno fix listedGHSA-wx5j-54mm-rqqq
Rocky Linux:8libdb0:5.3.28-42.el8_4RLSA-2022:5498
Ubuntu:22.04:LTSnetty1:4.1.48-4+deb11u1build0.22.04.1USN-6049-1
Ubuntu:22.04:LTSnetty1:4.1.48-4+deb11u1build0.22.04.1UBUNTU-CVE-2021-43797

Affected products (as reported)

VendorProductVersions
netty netty <= 4.1.7.0.Final

Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References