CVE-2019-19703 URL Redirection to Untrusted Site (Open Redirect) in Ktor

Medium 6.1 Published Updated

The Ktor HTTP client leaks sensitive authorization headers to redirect targets, allowing attackers to steal credentials.

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

What is CVE-2019-19703?

CVE-2019-19703 is a medium-severity vulnerability in n/a, published on 10 Dec 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In Ktor through 1.2.6, the client resends data from the HTTP Authorization header to a redirect location.

Weakness: CWE-601

Which versions are affected by CVE-2019-19703?

2 open source packages ship an affected version, including io.ktor:ktor-client-core. It affects 1 product.

PackageAffectedFixed in
io.ktor:ktor-client-core MavenAll versions1.3.0
io.ktor:ktor-client-core MavenAll versions1.3.0

Products include Jetbrains Ktor.

How do I fix CVE-2019-19703?

Upgrade io.ktor:ktor-client-core to 1.3.0 or later.

Is CVE-2019-19703 being exploited?

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

Sources

Also known as GHSA-xwgq-pcqx-hpmv.

Is CVE-2019-19703 in your software?

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

Check your SBOMs for free