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


Severity

0.0
medium
0
10

    Threat Intelligence

    EPSS
    0.16% (53rd 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 ID SNYK-JAVA-IOKTOR-2980135
  • published 12 Aug 2022
  • disclosed 12 Aug 2022
  • credit Andrew Bryan

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
Expand this section

Snyk

5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

6.5 medium