PT-2023-14205 · Npm · Node-Sqlite3

Dave Mcdaniel

·

Published

2023-03-13

·

Updated

2023-03-22

·

CVE-2022-43441

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions node-sqlite3 versions 5.0.0 through 5.1.4
Description A code execution issue exists in the Statement Bindings functionality of node-sqlite3. This can be triggered by a specially-crafted Javascript file, allowing for arbitrary code execution. An attacker can provide malicious input to exploit this issue. The vulnerability can also lead to denial-of-service if a binding parameter is a crafted Object.
Recommendations For node-sqlite3 versions 5.0.0 through 5.1.4, upgrade to version 5.1.5 or later to resolve the issue. As a temporary workaround, ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2022-43441
DSA-5373-1
GHSA-JQV5-7XPX-QJ74

Affected Products

Node-Sqlite3