{"id":"CVE-2022-21227","published":"2022-05-01T15:25:15Z","modified":"2024-09-16T18:48:34Z","title":"Denial of Service (DoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01968,"percentile":0.81011,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SQLITE3-2388645","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470","tags":["x_refsource_MISC"]},{"url":"https://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a","tags":["x_refsource_MISC"]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":16.2},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"sqlite3","versions":[">= unspecified, < 5.0.3"]}],"affected":[{"ecosystem":"npm","package":"sqlite3","vulnerableRanges":[">=5.0.0, <5.0.3"],"patched":["5.0.3"],"from":["GHSA-9qrh-qjmc-5w2p"],"provenance":"source"}],"summary":{"text":"The sqlite3 Node.js package, in versions before 5.0.3, contains a flaw in how it invokes the toString function on a passed parameter. An attacker who can reach the affected code path over the network, with no authentication or user interaction, can pass an invalid Function object to crash the V8 engine and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:47Z"},"euvd":{"id":"EUVD-2022-1694","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ghost-foundation-node-sqlite3-cve-2022-21227","children":[{"from":"CVE-2022-21227","to":"CVE-2022-43441","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sqlite3","fromFixed":"5.0.3","toFixed":"5.1.5","daysApart":319},{"kind":"same-code","provenance":"machine","files":["src/statement.cc"],"commits":["https://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a","https://github.com/TryGhost/node-sqlite3/commit/edb1934dd222ae55632e120d8f64552d5191c781"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-21227","published":"2022-05-01","fixed":"5.0.3","kev":false},{"cve":"CVE-2022-43441","published":"2023-03-16","fixed":"5.1.5","kev":false}],"package":"npm:sqlite3"}}