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-31142 Vulnerability in npm package @fastify/bearer-auth
CVE-2017-16106 Vulnerability in npm package tmock
CVE-2017-18352 Vulnerability in npm package rendertron-middleware
CVE-2022-22885 Vulnerability in maven package cn.hutool:hutool-http
CVE-2023-30522 Vulnerability in maven package org.jenkins-ci.plugins:fogbugz