{"answers":{"affected":"20 open source packages ship an affected version, including org.http4s:http4s-core_2.13, org.http4s:http4s-core and org.http4s:http4s-core_2.10. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22465 exists.","fix":"Upgrade org.http4s:http4s-core_2.13 to a fixed version for your release line: 0.21.34, 0.22.15, 0.23.17 or 1.0.0-M38.","what":"CVE-2023-22465 is a high-severity denial of service vulnerability in http4s, published on 4 Jan 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-22465 and fix it if it is affected.\n\nWhat it is: CVE-2023-22465 is a high-severity denial of service vulnerability in http4s, published on 4 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22465 exists.\n\nAffected packages and fixed versions:\n- org.http4s:http4s-core_2.13 (Maven): affected from 0.1.0; fixed in 0.21.34\n- org.http4s:http4s-core_2.13 (Maven): affected from 0.1.0; fixed in 0.21.34\n- org.http4s:http4s-core_2.13 (Maven): affected from 0.22.0; fixed in 0.22.15\n- org.http4s:http4s-core_2.13 (Maven): affected from 0.22.0; fixed in 0.22.15\n- org.http4s:http4s-core_2.13 (Maven): affected from 0.23.0; fixed in 0.23.17\n- org.http4s:http4s-core_2.13 (Maven): affected from 0.23.0; fixed in 0.23.17\n- org.http4s:http4s-core_2.13 (Maven): affected from 1.0.0-M1; fixed in 1.0.0-M38\n- org.http4s:http4s-core_2.13 (Maven): affected from 1.0.0-M1; fixed in 1.0.0-M38\n- org.http4s:http4s-core (Maven): affected from 1.0.0-M1 up to 1.0.0-M30; no fix listed\n- org.http4s:http4s-core (Maven): affected from 1.0.0-M1 up to 1.0.0-M30; no fix listed\n- org.http4s:http4s-core_2.10 (Maven): affected from 0.1.0 up to 0.9.3; no fix listed\n- org.http4s:http4s-core_2.10 (Maven): affected from 0.1.0 up to 0.9.3; no fix listed\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-22465/ (Markdown: https://insights.sbomify.com/CVE-2023-22465/index.md)","id":"CVE-2023-22465","markdown":"https://insights.sbomify.com/CVE-2023-22465/index.md","name":"CVE-2023-22465","record":{"aliases":["GHSA-54w6-vxfh-fw7f"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Scala HTTP library","requires_auth":"none","summary":"Attackers can cause a fatal error and denial of service in Http4s services by sending malformed User-Agent or Server headers to applications that explicitly request these typed headers.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"http4s","vendor":"typelevel"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Http4s is a Scala interface for HTTP services. Starting with version 0.1.0 and prior to versions 0.21.34, 0.22.15, 0.23.17, and 1.0.0-M38, the `User-Agent` and `Server` header parsers are susceptible to a fatal error on certain inputs.  In http4s, modeled headers are lazily parsed, so this only applies to services that explicitly request these typed headers. Fixes are released in 0.21.34, 0.22.15, 0.23.17, and 1.0.0-M38. As a workaround, use the weakly typed header interface.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Http4s has fatal error parsing User-Agent and Server headers","id":"CVE-2023-22465","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":20,"n_references":1,"next":{"headline":"Tokio's reject_remote_clients configuration may get dropped when creating a Windows named pipe","id":"CVE-2023-22466"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["1.0.0-M1"],"last_affected":["1.0.0-M30"],"package":"org.http4s:http4s-core","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":[],"introduced":["1.0.0-M1"],"last_affected":["1.0.0-M30"],"package":"org.http4s:http4s-core","purl":"pkg:maven/org.http4s/http4s-core","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":[],"introduced":["0.1.0"],"last_affected":["0.9.3"],"package":"org.http4s:http4s-core_2.10","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":[],"introduced":["0.1.0"],"last_affected":["0.9.3"],"package":"org.http4s:http4s-core_2.10","purl":"pkg:maven/org.http4s/http4s-core_2.10","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":[],"introduced":["0.1.0"],"last_affected":["0.21.0-M1"],"package":"org.http4s:http4s-core_2.11","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":[],"introduced":["0.1.0"],"last_affected":["0.21.0-M1"],"package":"org.http4s:http4s-core_2.11","purl":"pkg:maven/org.http4s/http4s-core_2.11","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.21.34"],"introduced":["0.1.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.12","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.21.34"],"introduced":["0.1.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.12","purl":"pkg:maven/org.http4s/http4s-core_2.12","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.22.15"],"introduced":["0.22.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.12","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.22.15"],"introduced":["0.22.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.12","purl":"pkg:maven/org.http4s/http4s-core_2.12","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.23.17"],"introduced":["0.23.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.12","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.23.17"],"introduced":["0.23.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.12","purl":"pkg:maven/org.http4s/http4s-core_2.12","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.21.34"],"introduced":["0.1.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.21.34"],"introduced":["0.1.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.22.15"],"introduced":["0.22.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.22.15"],"introduced":["0.22.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.23.17"],"introduced":["0.23.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["0.23.17"],"introduced":["0.23.0"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["1.0.0-M38"],"introduced":["1.0.0-M1"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":null,"source":"GHSA-54w6-vxfh-fw7f"},{"ecosystem":"Maven","fixed":["1.0.0-M38"],"introduced":["1.0.0-M1"],"last_affected":[],"package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"GHSA-54w6-vxfh-fw7f"}],"prev":{"headline":"ViewVC XSS vulnerability in revision view changed path \"copyfrom\" locations","id":"CVE-2023-22464"},"products":["http4s"],"published":"2023-01-04","related":[{"cvss_score":9.1,"headline":"Default CORS config allows any origin with credentials","id":"CVE-2021-39185","kev_date_added":null,"published":"2021-09-01"},{"cvss_score":8.7,"headline":"Response Splitting from unsanitized headers in http4s","id":"CVE-2021-41084","kev_date_added":null,"published":"2021-09-21"},{"cvss_score":7.6,"headline":"Local file inclusion vulnerability in http4s","id":"CVE-2020-5280","kev_date_added":null,"published":"2020-03-25"},{"cvss_score":7.5,"headline":"Unbounded connection acceptance in http4s-blaze-server","id":"CVE-2021-21294","kev_date_added":null,"published":"2021-02-02"},{"cvss_score":6.3,"headline":"Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section","id":"CVE-2025-59822","kev_date_added":null,"published":"2025-09-23"},{"cvss_score":5.8,"headline":"StaticFile.fromUrl can leak presence of a directory","id":"CVE-2021-32643","kev_date_added":null,"published":"2021-05-27"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["http4s"]},"summary":"Attackers can cause a fatal error and denial of service in Http4s services by sending malformed User-Agent or Server headers to applications that explicitly request these typed headers.","url":"https://insights.sbomify.com/CVE-2023-22465/"}