{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework.hateoas:spring-hateoas. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-34036 in the wild and no public exploit code.","fix":"Upgrade org.springframework.hateoas:spring-hateoas to a fixed version for your release line: 1.5.5, 2.0.5 or 2.1.1.","what":"CVE-2023-34036 is a medium-severity vulnerability in Spring HATEOAS, published on 17 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-34036 and fix it if it is affected.\n\nWhat it is: CVE-2023-34036 is a medium-severity vulnerability in Spring HATEOAS, published on 17 Jul 2023. 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-2023-34036 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.hateoas:spring-hateoas (Maven): affected all versions; fixed in 1.5.5\n- org.springframework.hateoas:spring-hateoas (Maven): affected all versions; fixed in 1.5.5\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.0.0; fixed in 2.0.5\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.0.0; fixed in 2.0.5\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.1.0; fixed in 2.1.1\n- org.springframework.hateoas:spring-hateoas (Maven): affected from 2.1.0; fixed in 2.1.1\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-2023-34036/ (Markdown: https://insights.sbomify.com/CVE-2023-34036/index.md)","id":"CVE-2023-34036","markdown":"https://insights.sbomify.com/CVE-2023-34036/index.md","name":"CVE-2023-34036","record":{"aliases":["GHSA-7m5c-fgwf-mwph"],"analysis":{"component_type":"library","fix_type":"configuration_change","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring HATEOAS library","requires_auth":"none","summary":"Attackers can manipulate hypermedia links in Spring WebFlux applications by spoofing forwarded headers if trusted proxy validation is missing.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_hateoas","vendor":"vmware"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-644","name":"Improper Neutralization of HTTP Headers for Scripting Syntax"}],"description":"Reactive web applications that use Spring HATEOAS to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures correctness of such headers, or if they don't have anything else in place to handle (and possibly discard) forwarded headers either in WebFlux or at the level of the underlying HTTP server.\n\nFor the application to be affected, it needs to satisfy the following requirements:\n\n  *  It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses.\n  *  The application infrastructure does not guard against clients submitting (X-)Forwarded… headers.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Forwarded header exploit with Spring HATEOAS on WebFlux","id":"CVE-2023-34036","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"other","year":"2023"},"n_packages":6,"n_references":1,"next":{"headline":"Other in VMware Horizon Server","id":"CVE-2023-34037"},"packages":[{"ecosystem":"Maven","fixed":["1.5.5"],"introduced":["0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7m5c-fgwf-mwph"},{"ecosystem":"Maven","fixed":["1.5.5"],"introduced":["0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-7m5c-fgwf-mwph"},{"ecosystem":"Maven","fixed":["2.0.5"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7m5c-fgwf-mwph"},{"ecosystem":"Maven","fixed":["2.0.5"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-7m5c-fgwf-mwph"},{"ecosystem":"Maven","fixed":["2.1.1"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":null,"source":"GHSA-7m5c-fgwf-mwph"},{"ecosystem":"Maven","fixed":["2.1.1"],"introduced":["2.1.0"],"last_affected":[],"package":"org.springframework.hateoas:spring-hateoas","purl":"pkg:maven/org.springframework.hateoas/spring-hateoas","source":"GHSA-7m5c-fgwf-mwph"}],"prev":{"headline":"Spring Security's authorization rules can be misconfigured when using multiple servlets","id":"CVE-2023-34035"},"products":["Spring HATEOAS"],"published":"2023-07-17","related":[{"cvss_score":7.5,"headline":"Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration","id":"CVE-2026-41006","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"Spring HATEOAS heap exhaustion through unbounded internal caching","id":"CVE-2026-41007","kev_date_added":null,"published":"2026-06-09"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-30","vendors":["Spring"]},"summary":"Attackers can manipulate hypermedia links in Spring WebFlux applications by spoofing forwarded headers if trusted proxy validation is missing.","url":"https://insights.sbomify.com/CVE-2023-34036/"}