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-2022-0722 Vulnerability in npm package parse-url
CVE-2019-15138 Vulnerability in npm package html-pdf
CVE-2022-45690 Vulnerability in maven package cn.hutool:hutool-json
CVE-2022-31110 Vulnerability in npm package rsshub
CVE-2021-28164 Vulnerability in maven package org.eclipse.jetty:jetty-webapp