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:
Acknowledgements
Full credit for reporting this issue goes to @t0rchwo0d, with additional thanks for responsibly disclosing.
References
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:
Acknowledgements
Full credit for reporting this issue goes to @t0rchwo0d, with additional thanks for responsibly disclosing.
References