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
Advisories
Source ID Title
EUVD EUVD EUVD-2025-12575 Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
Github GHSA Github GHSA GHSA-rc42-6c7j-7h5r Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 16 May 2025 23:45:00 +0000

Type Values Removed Values Added
References

Tue, 29 Apr 2025 15:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 28 Apr 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Apr 2025 07:30:00 +0000

Type Values Removed Values Added
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
Title Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2025-05-16T23:03:06.227Z

Reserved: 2025-01-02T04:30:06.832Z

Link: CVE-2025-22235

cve-icon Vulnrichment

Updated: 2025-05-16T23:03:06.227Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-04-28T08:15:15.273

Modified: 2025-05-16T23:15:19.600

Link: CVE-2025-22235

cve-icon Redhat

Severity : Important

Publid Date: 2025-04-28T07:10:35Z

Links: CVE-2025-22235 - Bugzilla

cve-icon OpenCVE Enrichment

No data.