{"answers":{"affected":"2 open source packages ship an affected version, including github.com/vapor/vapor. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-44386 in the wild and no public exploit code.","fix":"Upgrade github.com/vapor/vapor to 4.84.2 or later.","what":"CVE-2023-44386 is a medium-severity denial of service vulnerability in vapor, published on 5 Oct 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-44386 and fix it if it is affected.\n\nWhat it is: CVE-2023-44386 is a medium-severity denial of service vulnerability in vapor, published on 5 Oct 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-44386 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/vapor/vapor (SwiftURL): affected from 4.83.2; fixed in 4.84.2\n- github.com/vapor/vapor (SwiftURL): affected from 4.83.2; fixed in 4.84.2\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-44386/ (Markdown: https://insights.sbomify.com/CVE-2023-44386/index.md)","id":"CVE-2023-44386","markdown":"https://insights.sbomify.com/CVE-2023-44386/index.md","name":"CVE-2023-44386","record":{"aliases":["GHSA-3mwq-h3g6-ffhm"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Swift web framework","requires_auth":"none","summary":"Attackers can crash Vapor servers by sending malformed HTTP requests due to incorrect error handling in the HTTP1 parser.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vapor","vendor":"vapor"}],"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:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-696","name":"Incorrect Behavior Order"},{"id":"CWE-617","name":"Reachable Assertion"},{"id":"CWE-231","name":"Improper Handling of Extra Values"}],"description":"Vapor is an HTTP web framework for Swift. There is a denial of service vulnerability impacting all users of affected versions of Vapor. The HTTP1 error handler closed connections when HTTP parse errors occur instead of passing them on. The issue is fixed as of Vapor release 4.84.2.","ecosystems":["SwiftURL"],"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":"Incorrect request error handling triggers server crash in Vapor","id":"CVE-2023-44386","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"SwiftURL","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations","id":"CVE-2023-44387"},"packages":[{"ecosystem":"SwiftURL","fixed":["4.84.2"],"introduced":["4.83.2"],"last_affected":[],"package":"github.com/vapor/vapor","purl":null,"source":"GHSA-3mwq-h3g6-ffhm"},{"ecosystem":"SwiftURL","fixed":["4.84.2"],"introduced":["4.83.2"],"last_affected":[],"package":"github.com/vapor/vapor","purl":"pkg:swift/github.com/vapor/vapor","source":"GHSA-3mwq-h3g6-ffhm"}],"prev":{"headline":"Client-Side Request Forgery in Home Assistant iOS/macOS native Apps","id":"CVE-2023-44385"},"products":["vapor"],"published":"2023-10-05","related":[{"cvss_score":7.5,"headline":"DoS Vulnerability in URLEncodedFormDecoder in Vapor","id":"CVE-2022-31019","kev_date_added":null,"published":"2022-06-06"},{"cvss_score":7.5,"headline":"Integer Overflow in Vapor's HTTP Range Request","id":"CVE-2022-31005","kev_date_added":null,"published":"2022-05-31"},{"cvss_score":6.5,"headline":"Integer overflow in URI leading to potential host spoofing","id":"CVE-2024-21631","kev_date_added":null,"published":"2024-01-03"}],"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-09-19","vendors":["vapor"]},"summary":"Attackers can crash Vapor servers by sending malformed HTTP requests due to incorrect error handling in the HTTP1 parser.","url":"https://insights.sbomify.com/CVE-2023-44386/"}