
CVE catalog
CVE-2022-21227
node-sqlite3: CVE-2022-21227
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.21% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-sqlite3 | sid | 6.0.1+ds1-1 | fixed |
| Debian | node-sqlite3 | forky | 6.0.1+ds1-1 | fixed |
| Debian | node-sqlite3 | trixie | 5.1.5+ds1-1 | fixed |
| Debian | node-sqlite3 | bookworm | 5.1.5+ds1-1 | fixed |
| Ubuntu | node-sqlite3 | 16.04 | 2.2.0+ds1-1 | vulnerable |
| Ubuntu | node-sqlite3 | 18.04 | 3.1.8+ds1-2build1 | vulnerable |
| Ubuntu | node-sqlite3 | 18.04 | 3.1.8+ds1-2build2 | vulnerable |
| Ubuntu | node-sqlite3 | 20.04 | 4.0.6+ds1-2 | vulnerable |
| Ubuntu | node-sqlite3 | 20.04 | 4.1.0+ds1-1 | vulnerable |
| Ubuntu | node-sqlite3 | 20.04 | 4.1.1+ds1-1 | vulnerable |
| Ubuntu | node-sqlite3 | 20.04 | 4.1.1+ds1-1build1 | vulnerable |
| Ubuntu | node-sqlite3 | 22.04 | 5.0.0+ds1-1 | vulnerable |
| Ubuntu | node-sqlite3 | 22.04 | 5.0.2+ds1-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-sqlite3 | source | sid | 5.0.6+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-sqlite3 | source | forky | 5.0.6+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-sqlite3 | source | trixie | 5.0.6+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-sqlite3 | source | bookworm | 5.0.6+ds1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-sqlite3]Fixed
Details (2)
5.1.5+ds1-1· amd64 · bookwormFixed · Fixed:
5.0.6+ds1-1dsa · node-sqlite3 · debian · bookworm
5.1.5+ds1-1· arm64 · bookwormFixed · Fixed:
5.0.6+ds1-1dsa · node-sqlite3 · debian · bookworm
Observed: