7.3high
Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
- Severity
- 7.3high CVSS:3.1 by vmware
- Exploit likelihood
- 0.45% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-rc42-6c7j-7h5r
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Spring Boot | from 2.7.x before 2.7.25, from 3.1.x before 3.1.16, from 3.2.x before 3.2.14, from 3.3.x before 3.3.11, from 3.4.x before 3.4.5 | CVE List |
| org.springframework.boot:spring-boot (Maven) | up to 2.7.24.2, from 3.1.0 up to 3.1.15.2, from 3.2.0 up to 3.2.13.2, from 3.3.0 before 3.3.11, from 3.4.0 before 3.4.5 | GitHub Advisory Database |
All scores
| vmware | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Classification
What each source says
CVE List
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
NVD (es)
EndpointRequest.to() crea un comparador para null/** si el endpoint del actuador, para el que se creó EndpointRequest, está deshabilitado o no está expuesto. Su aplicación puede verse afectada si se cumplen todas las siguientes condiciones: * Utiliza Spring Security * EndpointRequest.to() se ha utilizado en una configuración de cadena de Spring Security * El punto final al que EndpointRequest hace referencia está deshabilitado o no está expuesto a través de la web * Su aplicación gestiona solicitudes a /null y esta ruta necesita protección no se verá afectado si se cumple alguna de las siguientes condiciones: * No utiliza Spring Security * No utiliza EndpointRequest.to() * El endpoint al que EndpointRequest.to() hace referencia está habilitado y está expuesto * Su aplicación no gestiona solicitudes a /null o esta ruta no necesita protección
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22235 changed 2025-05-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rc42-6c7j-7h5r changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-22235 changed 2026-06-17 | Public domain |