{"schemaVersion":3,"id":"CVE-2022-43441","aliases":["UBUNTU-CVE-2022-43441","DEBIAN-CVE-2022-43441","DSA-5373-1","GHSA-jqv5-7xpx-qj74"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-03-16T20:14:14.090Z","modified":"2024-08-03T13:32:59.404Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02356,"percentile":0.83513,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02356},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02356,"percentile":0.83513}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02356,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02356,"percentile":0.83513}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_1A9EFD9334DD475C","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2022-1645","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes","description":"The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/915.html"},{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources","description":"The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/913.html"}],"affected":[{"vendor":"debian","product":"node-sqlite3","name":"node-sqlite3","label":"node-sqlite3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-sqlite3","purlType":"deb","versions":[{"text":"< 5.0.0+ds1-1+deb11u2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.1.5+ds1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.0+ds1-1+deb11u2 | < 5.1.5+ds1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-sqlite3","name":"node-sqlite3","label":"node-sqlite3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-sqlite3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ghost foundation","product":"node-sqlite3","name":"node-sqlite3","label":"node-sqlite3","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.1.1","eol":null,"hubHref":"/vendor/ghost_foundation/node-sqlite3"},{"vendor":"ghost","product":"sqlite3","name":"sqlite3","label":"sqlite3","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0, < 5.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.1.5","eol":null,"hubHref":"/vendor/ghost/sqlite3"},{"vendor":"Npm","product":"sqlite3","name":"sqlite3","label":"sqlite3","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/sqlite3","purlType":"npm","versions":[{"text":"≥ 5.0.0, < 5.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.1.5","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2022-1645","label":"talosintelligence.com/vulnerability_reports/TALOS-2022-1645","hostname":"talosintelligence.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/TryGhost/node-sqlite3/security/advisories/GHSA-jqv5-7xpx-qj74","label":"github.com/TryGhost/node-sqlite3/security/advisories/GHSA-jqv5-7xpx-qj74","hostname":"github.com","tags":["REPORT","WEB","Vendor Advisory"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2022-1645","label":"www.talosintelligence.com/vulnerability_reports/TALOS-2022-1645","hostname":"www.talosintelligence.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2022-43441","label":"ubuntu.com/security/CVE-2022-43441","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-43441","label":"www.cve.org/CVERecord?id=CVE-2022-43441","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-43441","label":"security-tracker.debian.org/tracker/CVE-2022-43441","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43441","label":"nvd.nist.gov/vuln/detail/CVE-2022-43441","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/TryGhost/node-sqlite3/commit/edb1934dd222ae55632e120d8f64552d5191c781","label":"github.com/TryGhost/node-sqlite3/commit/edb1934dd222ae55632e120d8f64552d5191c781","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/TryGhost/node-sqlite3","label":"github.com/TryGhost/node-sqlite3","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-03-16T20:14:14.090Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T13:32:59.404Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:18:51.302Z","stale":false,"partial":false}}