Vulnerability · Published May 1, 2022 · Assigned by snyk

CVE-2022-21227Denial of Service (DoS)

High 7.5

In plain English

A high-severity security flaw in sqlite3. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.2%top 17.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-sqlite35.0.6+ds1-1DEBIAN-CVE-2022-21227
Debian:13node-sqlite35.0.6+ds1-1DEBIAN-CVE-2022-21227
Debian:14node-sqlite35.0.6+ds1-1DEBIAN-CVE-2022-21227
Ubuntu:22.04:LTSnode-sqlite3no fix listedUBUNTU-CVE-2022-21227
npmsqlite35.0.3GHSA-9qrh-qjmc-5w2p

Affected products (as reported)

VendorProductVersions
n/a sqlite3 unspecified – before 5.0.3

References