Affected versions
Ubuntu16.04:LTS/node-sqlite3
- Affected versions
- * || =2.2.0+ds1-1
- Fixed version
- Not reported
Ubuntu18.04:LTS/node-sqlite3
- Affected versions
- * || =3.1.8+ds1-2build1 || =3.1.8+ds1-2build2
- Fixed version
- Not reported
Ubuntu20.04:LTS/node-sqlite3
- Affected versions
- * || =4.0.6+ds1-2 || =4.1.0+ds1-1 || =4.1.1+ds1-1 || =4.1.1+ds1-1build1
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
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.
Links
- https://github.com/TryGhost/node-sqlite3/commit/593c9d498be2510d286349134537e3bf89401c4a
- https://github.com/advisories/GHSA-9qrh-qjmc-5w2p
- https://security.snyk.io/vuln/SNYK-JS-SQLITE3-2388645
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805470
- https://snyk.io/vuln/SNYK-JS-SQLITE3-2388645
- https://ubuntu.com/security/CVE-2022-21227
- https://www.cve.org/CVERecord?id=CVE-2022-21227

