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


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (31st 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 Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGPAC4J-467407
  • published20 Sept 2019
  • disclosed20 Sept 2019
  • creditJonathan Leitschuh

Introduced: 20 Sep 2019

CVE-2019-10755  (opens in a new tab)
CWE-338  (opens in a new tab)
First added by Snyk

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

CVSS Scores

version 3.1