CVE-2023-44386: Incorrect request error handling triggers server crash in Vapor

Published Oct 5, 2023
·
Updated

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.

Impact This 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.

Patches The issue is fixed as of Vapor release 4.84.2.

Workarounds None known at this time.

For more information If you have any questions or comments about this advisory: Open an issue in the Vapor repo Ask in Vapor Discord

Acknowledgements

Full credit for reporting this issue goes to @t0rchwo0d, with additional thanks for responsibly disclosing.

Other sources

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.

Affected Software

2 affected componentsFixes available
swift/github.com/vapor/vapor>=4.83.2<4.84.2
4.84.2
Vapor Vapor>=4.83.2<4.84.2

Event History

Oct 5, 2023
CVE Published
via MITRE·05:41 PM
Data Sourced
via MITRE·05:41 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:55 PM

Frequently Asked Questions

1

What is CVE-2023-44386?

CVE-2023-44386 is a vulnerability in Vapor that incorrectly handles errors encountered during parsing of HTTP 1.x requests, triggering a precondition failure in swift-nio and causing immediate termination of the server process.

2

What is the impact of CVE-2023-44386?

CVE-2023-44386 is a denial of service vulnerability that affects all users of affected versions of Vapor.

3

How can I fix CVE-2023-44386?

To fix CVE-2023-44386, upgrade to version 4.84.2 of Vapor.

4

Where can I find more information about CVE-2023-44386?

You can find more information about CVE-2023-44386 in the following references: [GitHub Security Advisory](https://github.com/vapor/vapor/security/advisories/GHSA-3mwq-h3g6-ffhm), [NIST NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-44386), [GitHub Commit](https://github.com/vapor/vapor/commit/090464a654b03148b139a81f8f5ac63b0856f6f3).

5

What is the Common Weakness Enumeration (CWE) ID for CVE-2023-44386?

The Common Weakness Enumeration (CWE) ID for CVE-2023-44386 is 231.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203