Skip to content
OpenAdvisories
Medium · 4.9 CVE-2019-10755 EUVD-2019-0762GHSA-rc75-cf5c-mxvhSNYK-JAVA-ORGPAC4J-467407

Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml

Published Sep 23, 2019 · Updated Aug 4, 2024 · Assigned by snyk

Description

The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.

Affected products

VendorProductAffectedFixed
— PAC4J For SAML Protocol All versions prior to version 4.0.0-RC1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.pac4j:pac4j-saml < 3.8.2 3.8.2 GHSA-rc75-cf5c-mxvh

References