{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-41337 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-41337 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-41337 is a medium-severity vulnerability in h2o, published on 12 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-41337 and fix it if it is affected.\n\nWhat it is: CVE-2023-41337 is a medium-severity vulnerability in h2o, published on 12 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-41337 in the wild and no public exploit code.\n\nAffected product: h2o. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-41337/ (Markdown: https://insights.sbomify.com/CVE-2023-41337/index.md)","id":"CVE-2023-41337","markdown":"https://insights.sbomify.com/CVE-2023-41337/index.md","name":"CVE-2023-41337","record":{"aliases":["DEBIAN-CVE-2023-41337","GHSA-5v5r-rghf-rm6q","UBUNTU-CVE-2023-41337"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"h2o HTTP server","requires_auth":"low_privilege","summary":"A malicious backend can misdirect TLS session resumption to intercept HTTPS traffic if h2o listens on multiple ports with different backends.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"h2o","vendor":"dena"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and HTTP/3. In version 2.3.0-beta2 and prior, when h2o is configured to listen to multiple addresses or ports with each of them using different backend servers managed by multiple entities, a malicious backend entity that also has the opportunity to observe or inject packets exchanged between the client and h2o may misdirect HTTPS requests going to other backends and observe the contents of that HTTPS request being sent.\n\nThe attack involves a victim client trying to resume a TLS connection and an attacker redirecting the packets to a different address or port than that intended by the client. The attacker must already have been configured by the administrator of h2o to act as a backend to one of the addresses or ports that the h2o instance listens to. Session IDs and tickets generated by h2o are not bound to information specific to the server address, port, or the X.509 certificate, and therefore it is possible for an attacker to force the victim connection to wrongfully resume against a different server address or port on which the same h2o instance is listening.\n\nOnce a TLS session is misdirected to resume to a server address / port that is configured to use an attacker-controlled server as the backend, depending on the configuration, HTTPS requests from the victim client may be forwarded to the attacker's server.\n\nAn H2O instance is vulnerable to this attack only if the instance is configured to listen to different addresses or ports using the listen directive at the host level and the instance is configured to connect to backend servers managed by multiple entities.\n\nA patch is available at commit 35760540337a47e5150da0f4a66a609fad2ef0ab. As a workaround, one may stop using using host-level listen directives in favor of global-level ones.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"h2o vulnerable to TLS session resumption misdirection","id":"CVE-2023-41337","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Vulnerability in Ctx.IsFromLocal() in gofiber","id":"CVE-2023-41338"},"packages":[],"prev":{"headline":"Prevent injection of invalid entity ids for \"autocomplete\" fields in symfony ux-autocomplete","id":"CVE-2023-41336"},"products":["h2o"],"published":"2023-12-12","related":[{"cvss_score":9.8,"headline":"Memory corruption in H2O","id":"CVE-2018-0608","kev_date_added":null,"published":"2018-06-26"},{"cvss_score":9.1,"headline":"Use after free in H2O","id":"CVE-2016-7835","kev_date_added":null,"published":"2017-06-09"},{"cvss_score":8.2,"headline":"H2O vulnerable to read from uninitialized pointer in the reverse proxy handler","id":"CVE-2023-30847","kev_date_added":null,"published":"2023-04-27"},{"cvss_score":7.5,"headline":"Denial of service in H2O","id":"CVE-2017-10868","kev_date_added":null,"published":"2017-12-22"},{"cvss_score":7.5,"headline":"Memory corruption in H2O","id":"CVE-2017-10869","kev_date_added":null,"published":"2017-12-22"},{"cvss_score":7.5,"headline":"Denial of service in H2O","id":"CVE-2017-10908","kev_date_added":null,"published":"2017-12-22"},{"cvss_score":7.5,"headline":"Denial of service in H2O","id":"CVE-2016-4864","kev_date_added":null,"published":"2017-05-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["h2o"]},"summary":"A malicious backend can misdirect TLS session resumption to intercept HTTPS traffic if h2o listens on multiple ports with different backends.","url":"https://insights.sbomify.com/CVE-2023-41337/"}