Description
Multiple classes used within Apereo CAS before release 6.1.0-RC5 makes use of apache commons-lang3 RandomStringUtils for token and ID generation which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong.
Remediation
References
https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467402
https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467404
https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467406
https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-468868
https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-468869
Related Vulnerabilities
CVE-2020-15138 Vulnerability in npm package prismjs
CVE-2021-27290 Vulnerability in npm package ssri
CVE-2021-32817 Vulnerability in npm package express-hbs
CVE-2023-22467 Vulnerability in maven package org.webjars.npm:luxon
CVE-2021-3137 Vulnerability in maven package org.xwiki.commons:xwiki-commons