Denial of Service in sequelize
Moderate severity
GitHub Reviewed
Published
Sep 3, 2020
to the GitHub Advisory Database
•
Updated Apr 11, 2023
Description
Reviewed
Aug 31, 2020
Published to the GitHub Advisory Database
Sep 3, 2020
Last updated
Apr 11, 2023
Versions of
sequelize
prior to 4.44.4 are vulnerable to Denial of Service (DoS). The SQLite dialect fails to catch aTypeError
exception for theresults
variable. Theresults
value may be undefined and trigger the error on a.map
call. This may allow attackers to submit malicious input that forces the exception and crashes the Node process.The following proof-of-concept crashes the Node process:
Recommendation
Upgrade to version 4.44.4 or later.
References