Timing Attack Affecting org.wildfly.security:wildfly-elytron package, versions [,1.10.4.Final) [1.15.0.CR1,1.15.6.Final) [1.16.0.CR1,1.16.1.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.07% (29th 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-ORGWILDFLYSECURITY-1316682
  • published 13 Jul 2021
  • disclosed 30 Jun 2021
  • credit Frederik Boster

How to fix?

Upgrade org.wildfly.security:wildfly-elytron to version 1.10.4.Final, 1.15.6.Final, 1.16.1.Final or higher.

Overview

org.wildfly.security:wildfly-elytron is a new WildFly sub-project which is completely replacing the combination of PicketBox and JAAS as the WildFly client and server security mechanism.

Affected versions of this package are vulnerable to Timing Attack. Currently org.wildfly.security.mechanism.scram.ScramServer uses simple byte comparison to verify the message nonce and client proof. Simple byte comparison returns on the first mismatch and is therefore susceptible to timing attacks.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

5.3 medium
Expand this section

Red Hat

3.1 low