{"id":"CVE-2023-44386","aliases":["EUVD-2023-2631","GHSA-3mwq-h3g6-ffhm"],"status":"published","title":"Incorrect request error handling triggers server crash in Vapor","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00736,"percentile":0.54927,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-231","CWE-617","CWE-696"],"published":"2023-10-05T17:41:38Z","modified":"2026-10-28T02:30:26Z","fixes":[{"ecosystem":"SwiftURL","package":"github.com/vapor/vapor","fixed_in":["4.84.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"SwiftURL","package":"github.com/vapor/vapor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.83.2"},{"fixed":"4.84.2"}]}]},{"source":"osv","ecosystem":"SwiftURL","package":"github.com/vapor/vapor","ranges":[{"type":"SEMVER","events":[{"introduced":"4.83.2"},{"fixed":"4.84.2"}]}]}],"products":[{"vendor":"vapor","product":"vapor"}],"references":[{"url":"https://github.com/vapor/vapor/security/advisories/GHSA-3mwq-h3g6-ffhm","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/vapor/vapor/commit/090464a654b03148b139a81f8f5ac63b0856f6f3","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/vapor/vapor/releases/tag/4.84.2","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-44386","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3mwq-h3g6-ffhm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/44xxx/CVE-2023-44386.json","tags":["advisory"]},{"url":"https://github.com/vapor/vapor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-44386","title":"Incorrect request error handling triggers server crash in Vapor","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.","status":"published","published":"2023-10-05T17:41:38.379Z","modified":"2024-09-19T17:58:26.048Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-231","CWE-617","CWE-696"],"updated_at":"2026-11-02T14:35:21.612665Z"}],"euvd":[{"id":"EUVD-2023-2631","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.","status":"published","published":"2023-10-05T17:41:38Z","modified":"2024-09-19T17:58:26Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T00:28:18.665654Z"}],"ghsa":[{"id":"GHSA-3mwq-h3g6-ffhm","title":"Vapor's incorrect request error handling triggers server crash","description":"Vapor incorrectly handles errors encountered during parsing of HTTP 1.x requests, triggering a precondition failure in swift-nio due to API misuse and causing immediate termination of the server process.\n\n### Impact\nThis is a denial of service vulnerability, impacting all users of affected versions of Vapor. Because the crash is an explicit assertion failure, there is no corruption of process state and no risk of data leakage or unauthorized code execution. Total impact is limited to an immediately recoverable service interruption.\n\n### Patches\nThe issue is fixed as of Vapor release 4.84.2.\n\n### Workarounds\nNone known at this time.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the Vapor repo](https://github.com/vapor/vapor)\n* Ask in [Vapor Discord](http://vapor.team)\n\n### Acknowledgements\n\nFull credit for reporting this issue goes to @t0rchwo0d, with additional thanks for responsibly disclosing.","status":"published","published":"2023-10-05T20:55:58Z","modified":"2024-02-09T00:31:40Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-231"],"updated_at":"2026-11-02T14:37:36.777238Z"}],"nvd":[{"id":"CVE-2023-44386","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.","status":"published","published":"2023-10-05T18:15:12.667Z","modified":"2026-06-17T06:27:32.38Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-231","CWE-617","CWE-696"],"updated_at":"2026-11-02T14:08:35.022405Z"}],"osv":[{"id":"CVE-2023-44386","title":"Incorrect request error handling triggers server crash in Vapor","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.","status":"published","published":"2023-10-05T17:41:38.379Z","modified":"2026-10-28T02:30:26.063538319Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-231","CWE-617","CWE-696"],"updated_at":"2026-11-02T15:44:33.792101Z"},{"id":"GHSA-3mwq-h3g6-ffhm","title":"Vapor's incorrect request error handling triggers server crash","description":"Vapor incorrectly handles errors encountered during parsing of HTTP 1.x requests, triggering a precondition failure in swift-nio due to API misuse and causing immediate termination of the server process.\n\n### Impact\nThis is a denial of service vulnerability, impacting all users of affected versions of Vapor. Because the crash is an explicit assertion failure, there is no corruption of process state and no risk of data leakage or unauthorized code execution. Total impact is limited to an immediately recoverable service interruption.\n\n### Patches\nThe issue is fixed as of Vapor release 4.84.2.\n\n### Workarounds\nNone known at this time.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the Vapor repo](https://github.com/vapor/vapor)\n* Ask in [Vapor Discord](http://vapor.team)\n\n### Acknowledgements\n\nFull credit for reporting this issue goes to @t0rchwo0d, with additional thanks for responsibly disclosing.","status":"published","published":"2023-10-05T20:55:58Z","modified":"2026-09-10T03:50:03.374512516Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-231"],"updated_at":"2026-11-02T15:46:35.747385Z"}]}}
