Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Informational severity, published 3 September 2020.
- Which products and versions are affected?
- sequelize (npm) SEMVER:introduced=0,fixed=4.44.4.
- Is there a fix for This vulnerability?
- Yes. sequelize (npm): upgrade to 4.44.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run sequelize (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- sequelize (npm): upgrade to 4.44.4 or later
npm install sequelize@4.44.4
Technical details
The vulnerability is a Denial of Service caused by an unhandled TypeError exception in the SQLite dialect of Sequelize prior to version 4.44.4. The root cause is a missing error handler around a `.map()` call on the `results` variable, which may be undefined in certain conditions. An attacker can trigger this by submitting malicious input that causes the results variable to be undefined, leading to an uncaught exception that crashes the entire Node.js process. This is a network-reachable vulnerability if the application exposes database operations to untrusted input. The fix is available in version 4.44.4 and later.
Affected products
- Sequelize Sequelize < 4.44.4
Timeline
- 2020-09-03: disclosed
- 2020-02-21: patched: Fix merged in PR #11877