Timing Attack Affecting openjdk-jre package, versions [,1.8.0_232)[11.0.0, 11.0.5)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.16% (87th 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 Timing Attack vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-OPENJDKJRE-502782
  • published13 Nov 2019
  • disclosed16 Oct 2019
  • creditJan Jancar

Introduced: 16 Oct 2019

CVE-2019-2894  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade openjdk-jre to version 8.0.232, 11.0.5 or higher.

Overview

openjdk-jre is a free and open-source implementation of the Java Platform, Standard Edition (Java SE).

Affected versions of this package are vulnerable to Timing Attack. Timing attacks are possible in implementations of ECDSA/EdDSA in cryptographic software libraries which allows for practical recovery of the long-term private key. This is possible in implementations which leak the bit-length of the scalar during scalar multiplication on an elliptic curve. This leakage might seem minuscule as the bit-length presents a very small amount of information present in the scalar. However, in the case of ECDSA/EdDSA signature generation, the leaked bit-length of the random nonce is enough for full recovery of the private key used after observing a few hundreds to a few thousands of signatures on known messages, due to the application of lattice techniques.

CVSS Base Scores

version 3.1