{"answers":{"affected":"10 open source packages ship an affected version, including org.springframework.boot:spring-boot.","exploited":"There is no known exploitation of CVE-2025-22235 in the wild and no public exploit code.","fix":"Upgrade org.springframework.boot:spring-boot to a fixed version for your release line: 3.3.11 or 3.4.5.","what":"CVE-2025-22235 is a high-severity missing authorization vulnerability in Spring Boot, published on 28 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22235 and fix it if it is affected.\n\nWhat it is: CVE-2025-22235 is a high-severity missing authorization vulnerability in Spring Boot, published on 28 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-22235 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.boot:spring-boot (Maven): affected all versions up to 2.7.24.2; no fix listed\n- org.springframework.boot:spring-boot (Maven): affected all versions up to 2.7.24.2; no fix listed\n- org.springframework.boot:spring-boot (Maven): affected from 3.1.0 up to 3.1.15.2; no fix listed\n- org.springframework.boot:spring-boot (Maven): affected from 3.1.0 up to 3.1.15.2; no fix listed\n- org.springframework.boot:spring-boot (Maven): affected from 3.2.0 up to 3.2.13.2; no fix listed\n- org.springframework.boot:spring-boot (Maven): affected from 3.2.0 up to 3.2.13.2; no fix listed\n- org.springframework.boot:spring-boot (Maven): affected from 3.3.0; fixed in 3.3.11\n- org.springframework.boot:spring-boot (Maven): affected from 3.3.0; fixed in 3.3.11\n- org.springframework.boot:spring-boot (Maven): affected from 3.4.0; fixed in 3.4.5\n- org.springframework.boot:spring-boot (Maven): affected from 3.4.0; fixed in 3.4.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-22235/ (Markdown: https://insights.sbomify.com/CVE-2025-22235/index.md)","id":"CVE-2025-22235","markdown":"https://insights.sbomify.com/CVE-2025-22235/index.md","name":"CVE-2025-22235","record":{"aliases":["CLEANSTART-2026-CC58014","CLSA-2025-1748390600","CLSA-2025-1754006610","ECHO-668f-c580-6f98","GHSA-rc42-6c7j-7h5r","MINI-594c-6x6w-6hgh","MINI-96j7-fg2g-g4qc","ROOT-APP-MAVEN-CVE-2025-22235","UBUNTU-CVE-2025-22235"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Boot library","requires_auth":"none","summary":"Attackers can bypass security controls on the /null path if Spring Security uses EndpointRequest.to() for disabled actuator endpoints.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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\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","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-21","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-21T07:01:36Z","kind":"github_poc","ref":"https://github.com/idealzh/cve-2025-22235-demo","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed","id":"CVE-2025-22235","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":10,"n_references":1,"next":{"headline":"CVE-2025-22236 salt advisory","id":"CVE-2025-22236"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.7.24.2"],"package":"org.springframework.boot:spring-boot","purl":null,"source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.7.24.2"],"package":"org.springframework.boot:spring-boot","purl":"pkg:maven/org.springframework.boot/spring-boot","source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.15.2"],"package":"org.springframework.boot:spring-boot","purl":null,"source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.15.2"],"package":"org.springframework.boot:spring-boot","purl":"pkg:maven/org.springframework.boot/spring-boot","source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.2.0"],"last_affected":["3.2.13.2"],"package":"org.springframework.boot:spring-boot","purl":null,"source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.2.0"],"last_affected":["3.2.13.2"],"package":"org.springframework.boot:spring-boot","purl":"pkg:maven/org.springframework.boot/spring-boot","source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":["3.3.11"],"introduced":["3.3.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot","purl":null,"source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":["3.3.11"],"introduced":["3.3.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot","purl":"pkg:maven/org.springframework.boot/spring-boot","source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":["3.4.5"],"introduced":["3.4.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot","purl":null,"source":"GHSA-rc42-6c7j-7h5r"},{"ecosystem":"Maven","fixed":["3.4.5"],"introduced":["3.4.0"],"last_affected":[],"package":"org.springframework.boot:spring-boot","purl":"pkg:maven/org.springframework.boot/spring-boot","source":"GHSA-rc42-6c7j-7h5r"}],"prev":{"headline":"Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation","id":"CVE-2025-22234"},"products":["Spring Boot"],"published":"2025-04-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-16","vendors":["Spring"]},"summary":"Attackers can bypass security controls on the /null path if Spring Security uses EndpointRequest.to() for disabled actuator endpoints.","url":"https://insights.sbomify.com/CVE-2025-22235/"}