{"answers":{"affected":"12 open source packages ship an affected version, including org.springframework.security:spring-security-web.","exploited":"There is no known exploitation of CVE-2024-38821 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-web to a fixed version for your release line: 5.7.13, 5.8.15, 6.0.13 or 6.1.11.","what":"CVE-2024-38821 is a critical missing authorization vulnerability in Spring, published on 28 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-38821 and fix it if it is affected.\n\nWhat it is: CVE-2024-38821 is a critical missing authorization vulnerability in Spring, published on 28 Oct 2024. 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-2024-38821 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-web (Maven): affected from 5.0.0; fixed in 5.7.13\n- org.springframework.security:spring-security-web (Maven): affected from 5.0.0; fixed in 5.7.13\n- org.springframework.security:spring-security-web (Maven): affected from 5.8.0; fixed in 5.8.15\n- org.springframework.security:spring-security-web (Maven): affected from 5.8.0; fixed in 5.8.15\n- org.springframework.security:spring-security-web (Maven): affected from 6.0.0; fixed in 6.0.13\n- org.springframework.security:spring-security-web (Maven): affected from 6.0.0; fixed in 6.0.13\n- org.springframework.security:spring-security-web (Maven): affected from 6.1.0; fixed in 6.1.11\n- org.springframework.security:spring-security-web (Maven): affected from 6.1.0; fixed in 6.1.11\n- org.springframework.security:spring-security-web (Maven): affected from 6.2.0; fixed in 6.2.7\n- org.springframework.security:spring-security-web (Maven): affected from 6.2.0; fixed in 6.2.7\n- org.springframework.security:spring-security-web (Maven): affected from 6.3.0; fixed in 6.3.4\n- org.springframework.security:spring-security-web (Maven): affected from 6.3.0; fixed in 6.3.4\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-2024-38821/ (Markdown: https://insights.sbomify.com/CVE-2024-38821/index.md)","id":"CVE-2024-38821","markdown":"https://insights.sbomify.com/CVE-2024-38821/index.md","name":"CVE-2024-38821","record":{"aliases":["CLEANSTART-2026-TA16647","ECHO-508b-98bd-2308","GHSA-c4q5-6c82-3qpw","ROOT-APP-MAVEN-CVE-2024-38821"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring WebFlux library","requires_auth":"none","summary":"Attackers can bypass authorization rules to access protected static resources in Spring WebFlux applications configured with specific security settings.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.\n\nFor this to impact an application, all of the following must be true:\n\n  *  It must be a WebFlux application\n  *  It must be using Spring's static resources support\n  *  It must have a non-permitAll authorization rule applied to the static resources support","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-10-30","github_poc":2,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-10-30T14:38:37Z","kind":"github_poc","ref":"https://github.com/mouadk/cve-2024-38821","stars":2,"title":"cve-2024-38821"},{"date":"2025-01-18T12:52:34Z","kind":"github_poc","ref":"https://github.com/masa42/CVE-2024-38821-POC","stars":1,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Authorization Bypass of Static Resources in WebFlux Applications","id":"CVE-2024-38821","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":12,"n_references":1,"next":{"headline":"CVE-2024-38822 Salt Advisory","id":"CVE-2024-38822"},"packages":[{"ecosystem":"Maven","fixed":["5.7.13"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["5.7.13"],"introduced":["5.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["5.8.15"],"introduced":["5.8.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["5.8.15"],"introduced":["5.8.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.0.13"],"introduced":["6.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.0.13"],"introduced":["6.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.1.11"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.1.11"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.2.7"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.2.7"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.3.4"],"introduced":["6.3.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-c4q5-6c82-3qpw"},{"ecosystem":"Maven","fixed":["6.3.4"],"introduced":["6.3.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-c4q5-6c82-3qpw"}],"prev":{"headline":"CVE-2024-38820: Spring Framework DataBinder Case Sensitive Match Exception","id":"CVE-2024-38820"},"products":["Spring"],"published":"2024-10-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":"total"},"state":"PUBLISHED","updated":"2025-01-24","vendors":["Spring"]},"summary":"Attackers can bypass authorization rules to access protected static resources in Spring WebFlux applications configured with specific security settings.","url":"https://insights.sbomify.com/CVE-2024-38821/"}