CVE-2025-22235
CVE-2025-22235 · Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
CVSS 7.3 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- spring bootUpdate to 2.7.25 / 3.1.16 / 3.2.14 …
- libspring-java Ubuntu Pro 14.04 LTSNo fix published
- libspring-java Ubuntu Pro 16.04 LTSNo fix published
- libspring-java Ubuntu Pro 18.04 LTSNo fix published
- and 6 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libspring-java"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.
Your application may be affected by this if all the following conditions are met:
- You use Spring Security
- EndpointRequest.to() has been used in a Spring Security chain configuration
- The endpoint which EndpointRequest references is disabled or not exposed via web
- Your application handles requests to /null and this path needs protection
You are not affected if any of the following is true:
- You don't use Spring Security
- You don't use EndpointRequest.to()
- The endpoint which EndpointRequest.to() refers to is enabled and is exposed
- Your application does not handle requests to /null or this path does not need protection
- Published
- Updated
Stack: system
Affected products and versions
spring boot
- Versions
- ≥ 2.7.x, < 2.7.25: Affected (Enterprise Support Only)
- ≥ 3.1.x, < 3.1.16: Affected (Enterprise Support Only)
- ≥ 3.2.x, < 3.2.14: Affected (Enterprise Support Only)
- ≥ 3.3.x, < 3.3.11: Affected (OSS)
- ≥ 3.4.x, < 3.4.5: Affected (OSS)
Update to 2.7.25; Update to 3.1.16; Update to 3.2.14; Update to 3.3.11; Update to 3.4.5
libspring-java Ubuntu Pro 14.04 LTS
- Versions
- 3.0.6.RELEASE-7
- 3.0.6.RELEASE-8
- 3.0.6.RELEASE-9
- 3.0.6.RELEASE-10
- 3.0.6.RELEASE-11
- 3.0.6.RELEASE-12
All versions (9)
- 3.0.6.RELEASE-13
- 3.0.6.RELEASE-13ubuntu0.1~esm1
- 3.0.6.RELEASE-13ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu Pro 16.04 LTS
- Versions
- 3.2.13-3
- 3.2.13-4
- 3.2.13-5
- 3.2.13-5ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu Pro 18.04 LTS
- Versions
- 4.3.11-1
- 4.3.12-1
- 4.3.13-2
- 4.3.14-1
- 4.3.22-1~18.04
- 4.3.22-1~18.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu Pro 20.04 LTS
- Versions
- 4.3.22-4
- 4.3.22-4ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu Pro 22.04 LTS
- Versions
- 4.3.30-1
- 4.3.30-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu Pro 24.04 LTS
- Versions
- 4.3.30-2
- 4.3.30-2ubuntu0.24.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu 25.10
- Versions
- 4.3.30-2ubuntu1
- 4.3.30-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu 26.10
- Versions
- 4.3.30-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspring-java Ubuntu 26.04 LTS
- Versions
- 4.3.30-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published