{"cve":"CVE-2022-21227","nvd":{"published":"2022-05-01T16:15:08.197","modified":"2026-06-17T04:25:48.500","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":[],"references":["https://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470","https://snyk.io/vuln/SNYK-JS-SQLITE3-2388645","https://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470"],"products":["ghost:sqlite3"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-21227","score":0.02213,"percentile":0.82621,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9qrh-qjmc-5w2p","url":"https://osv.dev/vulnerability/GHSA-9qrh-qjmc-5w2p","summary":"Denial-of-Service when binding invalid parameters in sqlite3","modified":"2025-01-14T10:26:57.660006Z","packages":[{"ecosystem":"npm","name":"sqlite3","purl":"pkg:npm/sqlite3","ranges":[">=5.0.0 <5.0.3"],"fixed":["5.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}