Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

fix(deps): update dependency sqlite3 to v5.1.5 [security]#1841

Merged
eliandoran merged 3 commits intodevelopfrom
renovate/npm-sqlite3-vulnerability
May 3, 2025
Merged

fix(deps): update dependency sqlite3 to v5.1.5 [security]#1841
eliandoran merged 3 commits intodevelopfrom
renovate/npm-sqlite3-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 3, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sqlite3 5.0.2 -> 5.1.5 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2022-21227

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.

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

  • Ensure there is sufficient sanitization in the parent application to protect against invalid values being supplied to binding parameters.

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 (sqlite3)

v5.1.5

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.1.4...v5.1.5

v5.1.4

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.1.3...v5.1.4

v5.1.3

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.1.2...v5.1.3

v5.1.2

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.1.1...v5.1.2

v5.1.1

Compare Source

What's Changed

A huge thanks to MacStadium for providing an M1 Mac Mini so we can offer ARM64 binaries.

Full Changelog: TryGhost/node-sqlite3@v5.1.0...v5.1.1

v5.1.0

Compare Source

✨ We're very excited to announce node-sqlite3's first minor release of v5, packed with features and improvements.

If you encounter any problems, please open a detailed issue using the templates.

What's Changed

New Contributors

Full Changelog: TryGhost/node-sqlite3@v5.0.11...v5.1.0

v5.0.11

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.0.10...v5.0.11

v5.0.10

Compare Source

What's Changed

New Contributors

Full Changelog: TryGhost/node-sqlite3@v5.0.9...v5.0.10

v5.0.9

Compare Source

What's Changed

New Contributors

Full Changelog: TryGhost/node-sqlite3@v5.0.8...v5.0.9

v5.0.8

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.0.7...v5.0.8

v5.0.7

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.0.6...v5.0.7

v5.0.6

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.0.5...v5.0.6

v5.0.5

Compare Source

What's Changed

Thank you to everyone reporting issues with building sqlite3 or the prebuilt binaries 🙂 If you encounter an problem, please search open and closed issues for existing reports or open a new issue with as much system information as possible.

Full Changelog: TryGhost/node-sqlite3@v5.0.4...v5.0.5

v5.0.4

Compare Source

What's Changed

Full Changelog: TryGhost/node-sqlite3@v5.0.3...v5.0.4

v5.0.3

Compare Source

What's Changed

Known Problems

  • https://github.com/TryGhost/node-sqlite3/issues/1578 - the minimum glibc version for prebuilt binaries was bumped to 2.29. We hope to bring this back down within the next few releases but you will need to compile from source if your system ships with a lower version.
  • Prebuilt binaries for Linux do not work on musl systems. This should be fixed with TryGhost/node-sqlite3@8b2cdd9 but you will need to compile from source to use v5.0.3.

Full Changelog: TryGhost/node-sqlite3@v5.0.2...v5.0.3


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies PRs or issues relating to dependencies renovate labels May 3, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2025

Folder/File Previous size New size Difference
/upload/TriliumNextNotes-Server-1841-merge-linux-x64.tar.xz 70.29MB +70.29MB (+100.00%)
TOTAL +70.29MB

@eliandoran eliandoran added this to the v0.94.0 milestone May 3, 2025
@eliandoran eliandoran merged commit 39c90c2 into develop May 3, 2025
4 checks passed
@eliandoran eliandoran deleted the renovate/npm-sqlite3-vulnerability branch May 3, 2025 07:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies PRs or issues relating to dependencies renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant