Improper Authentication Affecting io.ktor:ktor-client-core package, versions [,2.1.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IOKTOR-2980135
  • published12 Aug 2022
  • disclosed12 Aug 2022
  • creditAndrew Bryan

Introduced: 12 Aug 2022

CVE-2022-38180  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade io.ktor:ktor-client-core to version 2.1.0 or higher.

Overview

io.ktor:ktor-client-core is a framework for quickly creating web applications in Kotlin with minimal effort.

Affected versions of this package are vulnerable to Improper Authentication in the Route.authenticate() function in AuthenticationInterceptors.kt, which allows the wrong authentication provider to be selected when processing nested providers.

CVSS Scores

version 3.1