CVE-2022-21227: ghost sqlite3
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2022-21227DEBIAN-CVE-2022-21227GHSA-9qrh-qjmc-5w2p
Published 01-05-2022Last modified 16-09-2024
Vulnerability summary
CVE-2022-21227 is a high (CVSS 7.5) vulnerability in ghost sqlite3. EPSS estimates a 2.21% chance of exploitation in the next 30 days, higher than 82.3% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (CVE.org)EPSS score
2.21%
0%100%
Low · +0.14 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 01-05-2022PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versionsHigh 7.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:PSourcesAll 5 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
2.21%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
+0.14 pp
From 2.07% on 20-09-2026
20-09-202620-10-2026
EPSS score2.21%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Debian1 product
- node-sqlite3< 5.0.6+ds1-1
Ghost1 product
- sqlite3< 5.0.3
Npm1 product
- sqlite3≥ 5.0.0, < 5.0.3
Ubuntu1 product
- node-sqlite3All versions (No fix recorded)
4 vendors · 4 products
References
13 links- github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4aX Refsource MISCREPORTWEBPatchThird Party Advisory