Skip to content

Upgrade dependencies with known CVEs - #37

Merged
nthmost-orkes merged 2 commits into
mainfrom
fix/dependency-cves-2026-10
Oct 23, 2026
Merged

nthmost-orkes merged 2 commits into
mainfrom
fix/dependency-cves-2026-10

Conversation

@nthmost-orkes

Copy link
Copy Markdown
Contributor

Clears the ruby-sdk HIGH/CRITICAL CVEs from the Trivy scan.

Gem From To Why
concurrent-ruby 1.3.6 1.3.8 critical + high (CVE-2026-54906, CVE-2026-54904)
faraday 2.8.1 2.15.0 high (CVE-2026-54297)
addressable 2.8.8 2.9.0 high (CVE-2026-35611)

concurrent-ruby and faraday are direct deps, so their gemspec floors are raised (>= 1.3.7 and >= 2.14.3) -- this is what matters for gem consumers, since they resolve against the gemspec, not this repo's lock. addressable is transitive and moves in Gemfile.lock only. The lock also carries faraday 2.15's transitive changes (net-http, logger, json, public_suffix bump).

Verification: bundle lock resolves cleanly against the new constraints (concurrent-ruby 1.3.8, faraday 2.15.0, addressable 2.9.0). CI runs the test suite.

User impact: anyone depending on the Ruby SDK pulled a concurrent-ruby with a critical issue plus high-severity faraday/addressable bugs; this raises the floors to patched releases.

Parent: #32
Fixes #34
Fixes #35
Fixes #36

Clears the ruby-sdk HIGH/CRITICAL findings from the Trivy scan:

- concurrent-ruby 1.3.6 -> 1.3.8 (CVE-2026-54906 critical, CVE-2026-54904)
- faraday 2.8.1 -> 2.15.0 (CVE-2026-54297)
- addressable 2.8.8 -> 2.9.0 (CVE-2026-35611, transitive)

Direct deps (concurrent-ruby, faraday) get raised floors in the gemspec so
gem consumers resolve to patched versions, not just the dev lock; addressable
is transitive and moves in Gemfile.lock only.
- rest_client_spec: faraday >= 2.9 stores keyword middleware options in @kwargs
  (not @Args); read that so the retry-config assertions work under faraday 2.15
- Gemfile: cap public_suffix < 7.0. The addressable 2.9.0 bump (dev-only, via
  webmock) pulled public_suffix 7, which needs Ruby >= 3.2 and broke the
  Ruby 3.0/3.1 CI jobs; 6.0.2 has no Ruby floor and still clears the CVEs.
@nthmost-orkes
nthmost-orkes requested a review from c4lm October 20, 2026 09:59
@nthmost-orkes
nthmost-orkes merged commit f751693 into main Oct 23, 2026
10 checks passed
@nthmost-orkes
nthmost-orkes deleted the fix/dependency-cves-2026-10 branch October 23, 2026 08:07
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.

Upgrade addressable 2.8.8 → 2.9.0 (1 CVE) Upgrade faraday 2.8.1 → 2.15.0 (1 CVE) Upgrade concurrent-ruby 1.3.6 → 1.3.8 (2 CVEs)

2 participants