Advisory

GHSA-9qrh-qjmc-5w2p

Also known as: CVE-2022-21227

Summary

Denial-of-Service when binding invalid parameters in sqlite3

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-04-28 20:25 UTC
Modified
2025-01-14 10:26 UTC

Affected packages and fixes

sqlite3

npm · All systems

Affected

  • introduced 5.0.0, fixed 5.0.3 (semver)

Fixed versions

5.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences