Insecure Randomness Affecting org.pac4j:pac4j-saml package, versions [,3.8.2)


0.0
low

Snyk CVSS

    Attack Complexity Low
    Privileges Required High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.07% (28th percentile)
Expand this section
NVD
4.9 medium

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-ORGPAC4J-467407
  • published 20 Sep 2019
  • disclosed 20 Sep 2019
  • credit Jonathan Leitschuh

How to fix?

Upgrade org.pac4j:pac4j-saml to version 3.8.2 or higher.

Overview

org.pac4j:pac4j-saml is an is PAC4J package for the SAML Protocol.

Affected versions of this package are vulnerable to Insecure Randomness. A insecure source of randomness is used to generate all of its random values as it relies upon apache commons lang3 RandomStringUtils. This SAML identifier generated within SAML2Utils.java was found to make use of this class. Note: This issue only affects the 3.X release of pac4j-saml.

References