CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-22235

High
Published: Translated: NVD NIST

Summary

Podatność CVE-2025-22235 dotyczy aplikacji korzystających z Spring Security, w których użyto EndpointRequest.to() w konfiguracji łańcucha zabezpieczeń. Problem występuje, gdy odwołany endpoint jest wyłączony lub nie jest udostępniony, a aplikacja obsługuje żądania do ścieżki /null, która wymaga ochrony.

Risk Assessment

Organizacja może być narażona na nieautoryzowany dostęp do zasobów, jeśli endpointy są źle skonfigurowane, co może prowadzić do ujawnienia wrażliwych danych lub naruszenia bezpieczeństwa aplikacji.

Recommendation

Zaleca się przegląd konfiguracji Spring Security oraz upewnienie się, że wszystkie endpointy, które powinny być chronione, są poprawnie skonfigurowane i udostępnione. Należy również rozważyć zabezpieczenie ścieżki /null, jeśli jest używana.

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS