CVE-2025-3985 Apereo CAS ResponseEntity redos
Remote attackers can cause denial of service in Apereo CAS by exploiting inefficient regular expression complexity in the ResponseEntity function.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-3985?
CVE-2025-3985 is a medium-severity denial of service vulnerability in Apereo CAS, published on 27 Apr 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-3985?
2 open source packages ship an affected version, including org.apereo.cas:cas-management-webapp-support. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apereo.cas:cas-management-webapp-support Maven | All versions to 5.2.6 | None |
org.apereo.cas:cas-management-webapp-support Maven | All versions to 5.2.6 | None |
Products include Apereo Central Authentication Service.
How do I fix CVE-2025-3985?
No fix has been published for CVE-2025-3985 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-3985 being exploited?
There is no known exploitation of CVE-2025-3985 in the wild and no public exploit code.
Other vulnerabilities in Apereo CAS
Sources
Also known as GHSA-8rx4-fxq5-vj4v.