CVE-2022-38180 JetBrain Ktor before 2.1.0 vulnerable to selection of wrong authentication provider
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.
| Package | Affected | Fixed in |
|---|---|---|
io.ktor:ktor Maven | All versions | 2.1.0 |
io.ktor:ktor Maven | All versions | 2.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.
Other vulnerabilities in JetBrains Ktor
Sources
Also known as GHSA-hccx-cg4v-hrjx.