Vulnerabilities in pkg:maven/org.apereo.cas/cas-management-webapp-support
PACKAGECVE-2025-3985 is a MODERATE (CVSS 2.7) apereo cas has inefficient regular vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Cas management webapp support libraries in the Maven ecosystem. The issue involves apereo cas has inefficient regular expression complexity. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.apereo.cas/cas-management-webapp-support
Vulnerability advisories affecting package pkg:maven/org.apereo.cas/cas-management-webapp-support. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8rx4-fxq5-vj4v | CVE-2025-3985 | MODERATE | Apereo CAS has inefficient regular expression complexity |
| GHSA-37pq-893f-g7q5 | CVE-2025-3984 | LOW | Apereo CAS code injection vulnerability |
CVE-2025-3985 at a Glance
Security Impact
CVSS: 2.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2025-3985
To remediate this vulnerability, upgrade all affected Cas management webapp support 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-management-webapp-support</artifactId>
<version>Latest secure release</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-2025-3985, 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 management webapp support in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Cas management webapp support, 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-2025-3985 Affected Cas management webapp support Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apereo.cas:cas-management-webapp-support
|
Maven |
≤ 5.2.6
|
|
References
Frequently Asked Questions
What is CVE-2025-3985?
Which Cas management webapp support versions are affected?
What version fixes CVE-2025-3985?
Is cas-management-webapp-support affected?
What is the CVSS score of CVE-2025-3985?
What CWE is associated with CVE-2025-3985?
How can I check Maven dependencies for CVE-2025-3985?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8rx4-fxq5-vj4v",
"modified" : "2025-11-06T15:14:55Z",
"published" : "2025-04-27T21:34:48Z",
"aliases" : [ "CVE-2025-3985" ],
"summary" : "Apereo CAS has inefficient regular expression complexity",
"details" : "A vulnerability was found in Apereo CAS 5.2.6. It has been classified as problematic. This affects the function ResponseEntity of the file cas-5.2.6\\webapp-mgmt\\cas-management-webapp-support\\src\\main\\java\\org\\apereo\\cas\\mgmt\\services\\web\\ManageRegisteredServicesMultiActionController.java. The manipulation of the argument Query leads to inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apereo.cas:cas-management-webapp-support"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.2.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3985"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apereo/cas"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.306321"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.306321"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.557110"
}, {
"type" : "WEB",
"url" : "https://wx.mail.qq.com/s?k=lzDuxVkSRXUZ0bwZEG"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-06T15:14:55Z",
"nvd_published_at" : "2025-04-27T21:15:16Z"
}
}