VDB
Sign up
HIGH7.5

GHSA-9qrh-qjmc-5w2p

Denial-of-Service when binding invalid parameters in sqlite3

Quick fix

GHSA-9qrh-qjmc-5w2p — sqlite3: upgrade to the fixed version with the command below.

npm install sqlite3@5.0.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/sqlite3
Introduced in: 5.0.0Fixed in: 5.0.3
Fixnpm install sqlite3@5.0.3

References