CVE-2022-38180 JetBrain Ktor before 2.1.0 vulnerable to selection of wrong authentication provider

Medium 5.3 Published Updated

Attackers can bypass authentication in JetBrains Ktor by exploiting a flaw where the wrong authentication provider is selected.

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-2022-38180?

CVE-2022-38180 is a medium-severity authentication bypass vulnerability in JetBrains Ktor, published on 12 Aug 2022. 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 JetBrains Ktor before 2.1.0 the wrong authentication provider could be selected in some cases

Weakness: CWE-287

Which versions are affected by CVE-2022-38180?

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

PackageAffectedFixed in
io.ktor:ktor MavenAll versions2.1.0
io.ktor:ktor MavenAll versions2.1.0

Products include Jetbrains Ktor.

How do I fix CVE-2022-38180?

Upgrade io.ktor:ktor to 2.1.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-38180 being exploited?

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

Sources

Also known as GHSA-hccx-cg4v-hrjx.

Is CVE-2022-38180 in your software?

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

Check your SBOMs for free