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-2020-1960 Vulnerability in maven package org.apache.flink:flink-metrics-core
CVE-2022-40955 Vulnerability in maven package org.apache.inlong:sort-connector-jdbc
CVE-2018-3728 Vulnerability in npm package hoek
CVE-2021-20190 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind