CVE-2022-21227
Denial of Service (DoS)
CVE-2022-21227 affects Ghost Sqlite3 (CVSS 7.5, High).
No known exploitation. EPSS puts it in the 81st percentile. Fixed in 5.0.3.
No public exploit knownFix5.0.3Upgrade to this build
No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.
What to do
Find your product and version, then upgrade to the build on the right.
- N/a Sqlite3Affected: ≥ unspecified, < 5.0.3Upgrade to: 5.0.3Stated by: CVE record
- Npm Sqlite3Affected: ≥ 5.0.0, < 5.0.3Upgrade to: 5.0.3Stated by: GitHub advisory
- Ghost Sqlite3Affected: < 5.0.3Upgrade to: 5.0.3Stated by: NVD
- Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
- Hipp Wyrick Company Inc SQLiteAffected: before 5.0.3Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
2.0% chance of exploitation activity in the next 30 days, which ranks it in the 81st percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
4 events over 935 days, from the signal feeds we watch.
- Patch availablerecord updated
- Publishedweakness classified
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
Sources
References in the record
- github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470
- snyk.io/vuln/SNYK-JS-SQLITE3-2388645
And 9 more references. See all after sign-in
Questions about CVE-2022-21227
- Is CVE-2022-21227 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 2.0%.
- Which versions are affected by CVE-2022-21227?
- Sqlite3: < 5.0.3. Sqlite3: ≥ unspecified, < 5.0.3. Sqlite3: ≥ 5.0.0, < 5.0.3. 2 more products are listed in the record.
- How do I fix or mitigate CVE-2022-21227?
- Upgrade to 5.0.3 or later. The advisory is on github.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Sqlite3, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI