7.5high
Denial of Service (DoS)
- Severity
- 7.5high CVSS:3.1 by snyk
- Exploit likelihood
- 2.21% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-9qrh-qjmc-5w2p
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
| Product or package | Versions | Reported by |
|---|---|---|
| sqlite3 | from unspecified before 5.0.3 | CVE List |
| sqlite3 (npm) | from 5.0.0 before 5.0.3 | GitHub Advisory Database |
| ghost sqlite3 | before 5.0.3 | NVD |
All scores
| snyk | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Affected versions of sqlite3 will experience a fatal error when supplying a specific object in the parameter array. This error causes the application to crash and could not be caught. Users of sqlite3 v5.0.0, v5.0.1 and v5.0.2 are affected by this. This issue is fixed in v5.0.3. All users are recommended to upgrade to v5.0.3 or later. Ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters as a workaround.
NVD (es)
El paquete sqlite3 versiones anteriores a 5.0.3, es vulnerable a una Denegación de Servicio (DoS) que invocará la función toString del parámetro pasado. Si es pasado un objeto Function no válido, será lanzado y bloqueará el motor V8
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-21227 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9qrh-qjmc-5w2p changed 2025-01-14 | CC-BY-4.0 |
| NVD | CVE-2022-21227 changed 2026-06-17 | Public domain |