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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | sqlite3 | unspecified – < 5.0.3 | 5.0.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-sqlite3 | 5.0.6+ds1-1 | — |
| Debian 13 | node-sqlite3 | 5.0.6+ds1-1 | — |
| Debian 12 | node-sqlite3 | 5.0.6+ds1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | node-sqlite3 | No fix yet | — |
| Ubuntu 20.04 LTS | node-sqlite3 | No fix yet | — |
| Ubuntu 18.04 LTS | node-sqlite3 | No fix yet | — |
| Ubuntu 16.04 LTS | node-sqlite3 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | sqlite3 | >= 5.0.0, < 5.0.3 | 5.0.3 | GHSA-9qrh-qjmc-5w2p |