Skip to content

Bump nokogiri & concurrent-ruby (Snyk security fixes) - #47

Merged
jpr5 merged 1 commit into
masterfrom
security/bump-nokogiri-concurrent-ruby
Jun 25, 2026
Merged

Bump nokogiri & concurrent-ruby (Snyk security fixes)#47
jpr5 merged 1 commit into
masterfrom
security/bump-nokogiri-concurrent-ruby

Conversation

@jpr5

@jpr5 jpr5 commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

Resolves all 6 Snyk-reported vulnerabilities flagged on Gemfile.lock. Every finding traces to just two packages, both with patch fixes within the existing Gemfile constraints — so this is a conservative lockfile-only bump.

Vulnerable gem Findings resolved Fix
nokogiri 1.19.3 XML External Entity (XXE) Injection, Use-After-Free, Incorrect Type Conversion (3 direct + the same 3 surfaced transitively via mechanize) 1.19.4
concurrent-ruby 1.3.6 Infinite loop, Improper Locking, Wrap-around Error (surfaced transitively via activesupport and RubySunrise) 1.3.7

The mechanize/activesupport/RubySunrise listings appeared in Snyk as "no supported fix" only because there's no direct upgrade of those gems — they are the same underlying CVEs in nokogiri/concurrent-ruby, cleared transitively here.

No Gemfile edits required (nokogiri >= 1.19.3, mechanize's nokogiri ~> 1.11, and concurrent-ruby ~> 1.0 all allow the new versions).

Test (red → green)

  • Pre-bump baseline: 512 examples, 0 failures
  • Post-bump on this branch: 512 examples, 0 failures — no regression.
  • No leftover vulnerable versions in the lockfile.

…ixes)

Resolves 6 Snyk-reported vulnerabilities, all transitive/direct through two gems:

- nokogiri 1.19.4: XML External Entity (XXE) Injection, Use After Free,
  Incorrect Type Conversion. Also clears the 3 issues Snyk surfaced
  transitively through mechanize (same CVEs via nokogiri ~> 1.11).
- concurrent-ruby 1.3.7: Infinite loop, Improper Locking, Wrap-around Error.
  Clears the issues surfaced transitively through activesupport and RubySunrise.

Conservative lockfile-only bump; both versions satisfy existing Gemfile
constraints. Full rspec suite green (512 examples, 0 failures).
@jpr5
jpr5 merged commit 2295680 into master Jun 25, 2026
2 checks passed
@jpr5
jpr5 deleted the security/bump-nokogiri-concurrent-ruby branch June 25, 2026 18:23
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.

1 participant