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-2013-2035 Vulnerability in maven package org.fusesource.hawtjni:hawtjni-runtime
CVE-2020-20913 Vulnerability in maven package net.mingsoft:ms-mcms
CVE-2017-16145 Vulnerability in npm package sspa
CVE-2023-42399 Vulnerability in maven package org.webjars.npm:jodit
CVE-2022-3171 Vulnerability in maven package com.google.protobuf:protobuf-kotlin