Skip to content

dep: update sqlite3, net-ssh and faraday - #3248

Merged
flavorjones merged 3 commits into
mainfrom
sqlite3-2-10-2
Oct 26, 2026
Merged

flavorjones merged 3 commits into
mainfrom
sqlite3-2-10-2

Conversation

@flavorjones

@flavorjones flavorjones commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Motivation

Bring the lockfiles clear of every advisory bundler-audit reports.

  • sqlite3 2.9.6 truncated SQL strings and bound values longer than INT_MAX bytes (GHSA-4fqr-96q8-xrfx), and could crash or deadlock a connection when a callback raised, including an interrupt that lands in Rails' busy handler.
  • net-ssh 7.3.3, which kamal uses to deploy, carried several advisories, including shell injection through ProxyCommand/ProxyJump (GHSA-3x7f-q7wf-fp73) and ssh-agent exposure when port forwarding is on (GHSA-qpg5-fx6p-8cq3).
  • faraday 2.14.0 in the SaaS bundle let a protocol-relative URL override a connection's host (GHSA-33mh-2634-fwr2). CI audits only Gemfile.lock, so it did not report this one.

Details

  • Update sqlite3 to v2.10.2. The jump also takes in 2.10.0 and 2.10.1, which update the vendored SQLite to 3.54.1. This app uses none of the behavior those releases change.
  • Update net-ssh to 7.3.8 in both lockfiles. The commit message says why 7.3.8 rather than 7.3.5.
  • Update faraday to 2.14.4 in Gemfile.saas.lock.

Supersedes #3231, which stops at sqlite3 2.10.0.

sqlite3 2.9.6 truncated SQL strings and bound values longer than
`INT_MAX` bytes, and could crash or deadlock when a callback raised.

ref: https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v2.10.2
ref: GHSA-4fqr-96q8-xrfx
Copilot AI balanced review requested due to automatic review settings October 26, 2026 21:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

net-ssh 7.3.3 allowed shell injection through ProxyCommand and
ProxyJump templates, let a server use the local ssh-agent whenever port
forwarding was on, skipped checks on host certificates, and could be
exhausted before authentication. `kamal` uses it to deploy.

Take 7.3.8 rather than the minimum fixed 7.3.5: 7.3.5 broke transfers
at re-key, and 7.3.8 completes the ProxyJump fix.

ref: GHSA-3x7f-q7wf-fp73
ref: GHSA-qpg5-fx6p-8cq3
ref: GHSA-vxj5-fg65-x765
ref: GHSA-ggxh-cfwq-5xqc
ref: GHSA-pfqh-p9vh-wx4p
ref: GHSA-r75w-7fhp-84w8
ref: GHSA-rpq3-v334-f5pm
ref: GHSA-g2r2-x3p2-5677
faraday 2.14.0 let a protocol-relative URL override a connection's
host, and recursed without limit on deeply nested query parameters.
`googleauth` uses it for FCM push tokens.

ref: GHSA-33mh-2634-fwr2
ref: https://www.cve.org/CVERecord?id=CVE-2026-33637
ref: https://www.cve.org/CVERecord?id=CVE-2026-54297
@flavorjones flavorjones changed the title dep: update sqlite3 to 2.10.2 dep: update sqlite3, net-ssh and faraday Oct 26, 2026
@flavorjones
flavorjones merged commit 194a7be into main Oct 26, 2026
13 checks passed
@flavorjones
flavorjones deleted the sqlite3-2-10-2 branch October 26, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants