Comparison Using Wrong Factors Affecting org.bouncycastle:bcprov-jdk15to18 package, versions [1.65,1.67)

  • Exploit Maturity

    Proof of concept

  • Attack Complexity


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


  • published

    18 Dec 2020

  • disclosed

    18 Dec 2020

  • credit

    Matti Varanka, Tero Rontti

How to fix?

Upgrade org.bouncycastle:bcprov-jdk15to18 to version 1.67 or higher.


org.bouncycastle:bcprov-jdk15to18 is a Java implementation of cryptographic algorithms.

Affected versions of this package are vulnerable to Comparison Using Wrong Factors. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.