CVE-2022-21227
HIGH7.5EPSS 0.25%Denial-of-Service when binding invalid parameters in sqlite3
Published: 4/28/2022Modified: 4/28/2026
Description
The package sqlite3 before 5.0.3 are vulnerable to Denial of Service (DoS) which will invoke the toString function of the passed parameter. If passed an invalid Function object it will throw and crash the V8 engine.
Affected packages (2)
- Debian/node-sqlite3from 0, < 5.0.0+ds1-1+deb11u1
- npm/sqlite3>= 5.0.0, < 5.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-21227
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-21227
- PATCHhttps://github.com/TryGhost/node-sqlite3
- WEBhttps://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a
- WEBhttps://github.com/TryGhost/node-sqlite3/issues/1440
- WEBhttps://github.com/TryGhost/node-sqlite3/issues/1449
- WEBhttps://github.com/TryGhost/node-sqlite3/security/advisories/GHSA-9qrh-qjmc-5w2p
- WEBhttps://security.snyk.io/vuln/SNYK-JS-SQLITE3-2388645
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470
- WEBhttps://snyk.io/vuln/SNYK-JS-SQLITE3-2388645