org.pac4j:pac4j-saml@2.1.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.pac4j:pac4j-saml package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Insecure Randomness

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.

How to fix Insecure Randomness?

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

[,3.8.2)