Every CVE Search/ Get API key

CVE-2022-43441

sqlite vulnerable to code execution due to Object coercion

8.1 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.36%Up 2.3 points since Mar 17, 2023
90%50%10%1%

What each source reports

CVE List Score used 8.1

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.

Record
CVE-2022-43441
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-915
Updated
2026-11-02
EUVDEUVD-2023-1051 8.1

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.

Record
EUVD-2023-1051
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-jqv5-7xpx-qj74 8.1

sqlite vulnerable to code execution due to Object coercion

Impact

Due to the underlying implementation of .ToString(), it's possible to execute arbitrary JavaScript, or to achieve a denial-of-service, if a binding parameter is a crafted Object.

Users of sqlite3 v5.0.0 - v5.1.4 are affected by this.

Patches

Fixed in v5.1.5. All users are recommended to upgrade to v5.1.5 or later.

Workarounds

  • Ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.

References

For more information

If you have any questions or comments about this advisory:

Credits: Dave McDaniel of Cisco Talos

Record
GHSA-jqv5-7xpx-qj74
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-913, CWE-915
Updated
2026-11-02
NVD 8.1

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.

Record
CVE-2022-43441
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-915, CWE-913
Updated
2026-11-02
OSV 8.1

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.

Record
CVE-2022-43441
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-915
Updated
2026-11-02
OSVDEBIAN-CVE-2022-43441 9.8

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.

Record
DEBIAN-CVE-2022-43441
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVGHSA-jqv5-7xpx-qj74 8.1

sqlite vulnerable to code execution due to Object coercion

Impact

Due to the underlying implementation of .ToString(), it's possible to execute arbitrary JavaScript, or to achieve a denial-of-service, if a binding parameter is a crafted Object.

Users of sqlite3 v5.0.0 - v5.1.4 are affected by this.

Patches

Fixed in v5.1.5. All users are recommended to upgrade to v5.1.5 or later.

Workarounds

  • Ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.

References

For more information

If you have any questions or comments about this advisory:

Credits: Dave McDaniel of Cisco Talos

Record
GHSA-jqv5-7xpx-qj74
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-913, CWE-915
Updated
2026-11-02
OSVUBUNTU-CVE-2022-43441 8.1

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.

Record
UBUNTU-CVE-2022-43441
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sqlite3
npm
5.0.0 up to 5.1.5
5.1.5
node-sqlite3
Debian:12
before 5.1.5+ds1-1
5.1.5+ds1-1
node-sqlite3
Debian:13
before 5.1.5+ds1-1
5.1.5+ds1-1
node-sqlite3
Debian:14
before 5.1.5+ds1-1
5.1.5+ds1-1
node-sqlite3
Debian:11
before 5.0.0+ds1-1+deb11u2, plus listed versions
5.0.0+ds1-15.0.0+ds1-1+deb11u1
5.0.0+ds1-1+deb11u2
node-sqlite3
Ubuntu:16.04:LTS
All versions, plus listed versions
2.2.0+ds1-1
None known
node-sqlite3
Ubuntu:18.04:LTS
All versions, plus listed versions
3.1.8+ds1-2build13.1.8+ds1-2build2
None known
node-sqlite3
Ubuntu:20.04:LTS
All versions, plus listed versions
4.0.6+ds1-24.1.0+ds1-14.1.1+ds1-14.1.1+ds1-1build1
None known
node-sqlite3
Ubuntu:22.04:LTS
All versions, plus listed versions
5.0.0+ds1-15.0.2+ds1-3
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-43441 is a high vulnerability (CVSS 8.1) in Ghost Sqlite3, published March 13, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.36%, the 83rd percentile. Fixed in sqlite3 5.1.5.

References

Show 4 moreShow less
MoveEnter Open