CVE-2020-5404 Authentication Leak On Redirect With Reactor Netty HttpClient

Medium 6.5 Published Updated

Attackers can steal credentials when a configured HTTP client follows redirects to a different domain.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-5404?

CVE-2020-5404 is a medium-severity vulnerability in Pivotal Reactor Netty, published on 3 Mar 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The HttpClient from Reactor Netty, versions 0.9.x prior to 0.9.5, and versions 0.8.x prior to 0.8.16, may be used incorrectly, leading to a credentials leak during a redirect to a different domain. In order for this to happen, the HttpClient must have been explicitly configured to follow redirects.

Weakness: CWE-522

Which versions are affected by CVE-2020-5404?

4 open source packages ship an affected version, including io.projectreactor.netty:reactor-netty-http. It affects 1 product.

PackageAffectedFixed in
io.projectreactor.netty:reactor-netty-http MavenFrom 0.8.00.8.16
io.projectreactor.netty:reactor-netty-http MavenFrom 0.8.00.8.16
io.projectreactor.netty:reactor-netty-http MavenFrom 0.9.00.9.5
io.projectreactor.netty:reactor-netty-http MavenFrom 0.9.00.9.5

Products include Broadcom Reactor Netty.

How do I fix CVE-2020-5404?

Upgrade io.projectreactor.netty:reactor-netty-http to a fixed version for your release line: 0.8.16 or 0.9.5.

Is CVE-2020-5404 being exploited?

There is no known exploitation of CVE-2020-5404 in the wild and no public exploit code.

Sources

Also known as GHSA-gpch-h32j-gx6x.

Is CVE-2020-5404 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free