{"id":"CVE-2025-22235","state":"PUBLISHED","title":"Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed","description":"EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.\n\nYour application may be affected by this if all the following conditions are met:\n\n  *  You use Spring Security\n  *  EndpointRequest.to() has been used in a Spring Security chain configuration\n  *  The endpoint which EndpointRequest references is disabled or not exposed via web\n  *  Your application handles requests to /null and this path needs protection\n\n\nYou are not affected if any of the following is true:\n\n  *  You don't use Spring Security\n  *  You don't use EndpointRequest.to()\n  *  The endpoint which EndpointRequest.to() refers to is enabled and is exposed\n  *  Your application does not handle requests to /null or this path does not need protection","publishedAt":"2025-04-28T07:10:35.370Z","updatedAt":"2025-05-16T23:03:06.227Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"vmware"},"assigner":"vmware","products":["Spring Spring Boot"],"affected":[{"vendor":"Spring","product":"Spring Boot","defaultStatus":"unaffected","versions":[{"version":"2.7.x","status":"affected","lessThan":"2.7.25","versionType":"Enterprise Support Only"},{"version":"3.1.x","status":"affected","lessThan":"3.1.16","versionType":"Enterprise Support Only"},{"version":"3.2.x","status":"affected","lessThan":"3.2.14","versionType":"Enterprise Support Only"},{"version":"3.3.x","status":"affected","lessThan":"3.3.11","versionType":"OSS"},{"version":"3.4.x","status":"affected","lessThan":"3.4.5","versionType":"OSS"}]}],"references":["https://spring.io/security/cve-2025-22235","https://security.netapp.com/advisory/ntap-20250516-0010/"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22235.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-22235","state":"PUBLISHED","datePublished":"2025-04-28T07:10:35.370Z","dateUpdated":"2025-05-16T23:03:06.227Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2025-01-02T04:30:06.832Z"},"containers":{"cna":{"title":"Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed","descriptions":[{"lang":"en","value":"EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.\n\nYour application may be affected by this if all the following conditions are met:\n\n  *  You use Spring Security\n  *  EndpointRequest.to() has been used in a Spring Security chain configuration\n  *  The endpoint which EndpointRequest references is disabled or not exposed via web\n  *  Your application handles requests to /null and this path needs protection\n\n\nYou are not affected if any of the following is true:\n\n  *  You don't use Spring Security\n  *  You don't use EndpointRequest.to()\n  *  The endpoint which EndpointRequest.to() refers to is enabled and is exposed\n  *  Your application does not handle requests to /null or this path does not need protection"}],"affected":[{"vendor":"Spring","product":"Spring Boot","defaultStatus":"unaffected","versions":[{"version":"2.7.x","status":"affected","lessThan":"2.7.25","versionType":"Enterprise Support Only"},{"version":"3.1.x","status":"affected","lessThan":"3.1.16","versionType":"Enterprise Support Only"},{"version":"3.2.x","status":"affected","lessThan":"3.2.14","versionType":"Enterprise Support Only"},{"version":"3.3.x","status":"affected","lessThan":"3.3.11","versionType":"OSS"},{"version":"3.4.x","status":"affected","lessThan":"3.4.5","versionType":"OSS"}]}],"references":[{"url":"https://spring.io/security/cve-2025-22235"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2025-04-28T07:10:35.370Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-28T16:16:38.622106Z","id":"CVE-2025-22235","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-28T16:18:23.559Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20250516-0010/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-05-16T23:03:06.227Z"}}]}}}