CVE-2022-43441 sqlite vulnerable to code execution due to Object coercion
CriticalCVSS 9.8
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
A code execution vulnerability exists in the Statement Bindings functionality of Ghost Foundation node-sqlite3 5.1.1. A specially-crafted Javascript file can lead to arbitrary code execution. An attacker can provide malicious input to trigger this vulnerability.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-sqlite3(Debian 12) | < 5.1.5+ds1-1 | 5.1.5+ds1-1 | Fixed |
| debian/node-sqlite3(Debian 13) | < 5.1.5+ds1-1 | 5.1.5+ds1-1 | Fixed |
| debian/node-sqlite3(Debian 14) | < 5.1.5+ds1-1 | 5.1.5+ds1-1 | Fixed |
| ghost sqlite3 | >= 5.0.0, < 5.1.5 | 5.1.5 | Fixed |
| npm sqlite3(npm) | >= 5.0.0, < 5.1.5 | 5.1.5 | Fixed |
| ubuntu/node-sqlite3(Ubuntu 22.04) | < 5.0.2+ds1-3ubuntu0.1~esm1 | 5.0.2+ds1-3ubuntu0.1~esm1 | Fixed |
| ubuntu/node-sqlite3(Ubuntu Pro 22.04) | < 5.0.2+ds1-3ubuntu0.1~esm1; = 5.0.0+ds1-1; = 5.0.2+ds1-3 | 5.0.2+ds1-3ubuntu0.1~esm1 | Fixed |
| Ghost Foundation node-sqlite3 | = 5.1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm sqlite3(npm) | >= 5.0.0, < 5.1.5 | 5.1.5 |
| Ghost Foundation node-sqlite3 | = 5.1.1 | No fix listed |
| ghost sqlite3 | >= 5.0.0, < 5.1.5 | 5.1.5 |
| debian/node-sqlite3(Debian:12) | < 5.1.5+ds1-1 | 5.1.5+ds1-1 |
| debian/node-sqlite3(Debian:14) | < 5.1.5+ds1-1 | 5.1.5+ds1-1 |
| debian/node-sqlite3(Debian:13) | < 5.1.5+ds1-1 | 5.1.5+ds1-1 |
| ubuntu/node-sqlite3(Ubuntu:Pro:22.04) | < 5.0.2+ds1-3ubuntu0.1~esm1 | 5.0.2+ds1-3ubuntu0.1~esm1 |
| ubuntu/node-sqlite3(Ubuntu:Pro:22.04) | = 5.0.0+ds1-1 | No fix listed |
| ubuntu/node-sqlite3(Ubuntu:Pro:22.04) | = 5.0.2+ds1-3 | No fix listed |
| ubuntu/node-sqlite3(Ubuntu:22.04) | < 5.0.2+ds1-3ubuntu0.1~esm1 | 5.0.2+ds1-3ubuntu0.1~esm1 |
References
- https://github.com/TryGhost/node-sqlite3/security/advisories/GHSA-jqv5-7xpx-qj74 issue-tracking vendor-advisory
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- https://talosintelligence.com/vulnerability_reports/TALOS-2022-1645 exploit third-party-advisory
- github.com
- Debian Security Tracker CVE-2022-43441 vendor-advisory
- www.talosintelligence.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com product
- USN-9118-1 vendor-advisory