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.
Remediation
References
https://snyk.io/vuln/SNYK-JAVA-ORGPAC4J-467407
Related Vulnerabilities
CVE-2022-29256 Vulnerability in maven package org.webjars.npm:sharp
CVE-2014-2064 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2021-33562 Vulnerability in maven package com.shopizer:shopizer
CVE-2021-21122 Vulnerability in maven package org.webjars.npm:electron
CVE-2023-46122 Vulnerability in maven package org.scala-sbt:sbt