Due to the underlying implementation of .ToString(), it's possible to execute arbitrary JavaScript, or to achieve a denial-of-service, if a binding parameter is a crafted Object.
Users of sqlite3 v5.0.0 - v5.1.4 are affected by this.
Patches
Fixed in v5.1.5. All users are recommended to upgrade to v5.1.5 or later.
Workarounds
Ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.
TryGhost/node-sqlite3
### [`v5.1.5`](https://togithub.com/TryGhost/node-sqlite3/releases/tag/v5.1.5)
[Compare Source](https://togithub.com/TryGhost/node-sqlite3/compare/v5.1.4...v5.1.5)
#### What's Changed
- 🔒 Fixed code execution vulnerability due to Object coercion by [@daniellockyer](https://togithub.com/daniellockyer)
- Updated bundled SQLite to v3.41.1 by [@daniellockyer](https://togithub.com/daniellockyer)
- Fixed rpath linker option when using a custom sqlite by [@jeromew](https://togithub.com/jeromew) in [https://github.com/TryGhost/node-sqlite3/pull/1654](https://togithub.com/TryGhost/node-sqlite3/pull/1654)
**Full Changelog**: https://github.com/TryGhost/node-sqlite3/compare/v5.1.4...v5.1.5
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
5.1.4
->5.1.5
GitHub Vulnerability Alerts
CVE-2022-43441
Impact
Due to the underlying implementation of
.ToString()
, it's possible to execute arbitrary JavaScript, or to achieve a denial-of-service, if a binding parameter is a crafted Object.Users of
sqlite3
v5.0.0 - v5.1.4 are affected by this.Patches
Fixed in v5.1.5. All users are recommended to upgrade to v5.1.5 or later.
Workarounds
References
For more information
If you have any questions or comments about this advisory:
Credits: Dave McDaniel of Cisco Talos
Release Notes
TryGhost/node-sqlite3
### [`v5.1.5`](https://togithub.com/TryGhost/node-sqlite3/releases/tag/v5.1.5) [Compare Source](https://togithub.com/TryGhost/node-sqlite3/compare/v5.1.4...v5.1.5) #### What's Changed - 🔒 Fixed code execution vulnerability due to Object coercion by [@daniellockyer](https://togithub.com/daniellockyer) - Updated bundled SQLite to v3.41.1 by [@daniellockyer](https://togithub.com/daniellockyer) - Fixed rpath linker option when using a custom sqlite by [@jeromew](https://togithub.com/jeromew) in [https://github.com/TryGhost/node-sqlite3/pull/1654](https://togithub.com/TryGhost/node-sqlite3/pull/1654) **Full Changelog**: https://github.com/TryGhost/node-sqlite3/compare/v5.1.4...v5.1.5Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.