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. Learn more

Threat Intelligence

EPSS
0.07% (32nd 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 IDSNYK-JAVA-ORGWILDFLYSECURITY-1316682
  • published13 Jul 2021
  • disclosed30 Jun 2021
  • creditFrederik Boster

Introduced: 30 Jun 2021

CVE-2021-3642  (opens in a new tab)
CWE-208  (opens in a new tab)

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 Base Scores

version 3.1