Vulnerabilities in pkg:maven/org.apereo.cas/cas-server-core-services-api
PACKAGECVE-2019-10754 is a HIGH (CVSS 8.1) use of insufficiently random values vulnerability (CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)) affecting Cas server support simple mfa libraries in the Maven ecosystem. The issue involves use of insufficiently random values in apereo cas. Remediation is available by upgrading affected packages to version 6.1.0-RC5.
pkg:maven/org.apereo.cas/cas-server-core-services-api
Vulnerability advisories affecting package pkg:maven/org.apereo.cas/cas-server-core-services-api. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-g24w-373r-5pxg | CVE-2019-10754 | HIGH | Use of Insufficiently Random Values in Apereo CAS |
CVE-2019-10754 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2019-10754
To remediate this vulnerability, upgrade all affected Cas server support simple mfa dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-simple-mfa</artifactId>
<version>6.1.0-RC5</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-oidc</artifactId>
<version>6.1.0-RC5</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-services-api</artifactId>
<version>6.1.0-RC5</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-oauth-core-api</artifactId>
<version>6.1.0-RC5</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-shell</artifactId>
<version>6.1.0-RC5</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-services-authentication</artifactId>
<version>6.1.0-RC5</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apereo.cas
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2019-10754, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apereo.cas
Analyze the terminal output to locate any version of Cas server support simple mfa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.1.0-RC5), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apereo.cas command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG), where the product uses a pseudo-random number generator (prng) in a security context, but the prng's algorithm is not cryptographically strong. In Cas server support simple mfa, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-10754 Affected Cas server support simple mfa Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apereo.cas:cas-server-support-simple-mfa
|
Maven |
< 6.1.0-RC5
|
6.1.0-RC5
|
|
org.apereo.cas:cas-server-support-oidc
|
Maven |
< 6.1.0-RC5
|
6.1.0-RC5
|
|
org.apereo.cas:cas-server-core-services-api
|
Maven |
< 6.1.0-RC5
|
6.1.0-RC5
|
|
org.apereo.cas:cas-server-support-oauth-core-api
|
Maven |
< 6.1.0-RC5
|
6.1.0-RC5
|
|
org.apereo.cas:cas-server-support-shell
|
Maven |
< 6.1.0-RC5
|
6.1.0-RC5
|
|
org.apereo.cas:cas-server-core-services-authentication
|
Maven |
< 6.1.0-RC5
|
6.1.0-RC5
|
References
Frequently Asked Questions
What is CVE-2019-10754?
Which Cas server support simple mfa versions are affected?
What version fixes CVE-2019-10754?
Is cas-server-support-simple-mfa affected?
Is cas-server-support-oidc affected?
What is the CVSS score of CVE-2019-10754?
What CWE is associated with CVE-2019-10754?
How can I check Maven dependencies for CVE-2019-10754?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g24w-373r-5pxg",
"modified" : "2022-11-01T23:37:32Z",
"published" : "2022-05-24T16:56:41Z",
"aliases" : [ "CVE-2019-10754" ],
"summary" : "Use of Insufficiently Random Values in Apereo CAS",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-server-support-simple-mfa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0-RC5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-server-support-oidc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0-RC5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-server-core-services-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0-RC5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-server-support-oauth-core-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0-RC5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-server-support-shell"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0-RC5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-server-core-services-authentication"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.0-RC5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10754"
}, {
"type" : "WEB",
"url" : "https://github.com/apereo/cas/commit/40bf278e66786544411c471de5123e7a71826b9f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apereo/cas"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467402"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467404"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-467406"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-468868"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGAPEREOCAS-468869"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-330", "CWE-338" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-01T23:37:32Z",
"nvd_published_at" : "2019-09-23T23:15:00Z"
}
}