Update rack, sinatra, and thin for security fixes - #578
Open
paulwfield wants to merge 1 commit into
Open
Conversation
Bump runtime dependencies to patched releases that resolve known HIGH/CRITICAL vulnerabilities reported by security scanners: - rack ~> 3.2 (CVE-2025-61770, CVE-2025-61771, CVE-2025-61772, CVE-2025-61919, CVE-2026-22860, CVE-2026-34785, CVE-2026-34827, CVE-2026-34829) - sinatra ~> 4.2 (CVE-2025-61921) - thin ~> 2.0 (rack 3.x compatibility)
paulwfield
commented
Jun 16, 2026
paulwfield
left a comment
Author
There was a problem hiding this comment.
mailcatcher 0.10.0 currently pins rack ~> 2.2, sinatra ~> 3.2, and thin ~> 1.8. These versions are flagged by vulnerability scanners for known CVEs in bundled dependencies. Bumping the declared dependencies allows consumers to install patched gem releases without post-install gemspec patching.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates mailcatcher runtime dependencies to patched releases that resolve HIGH/CRITICAL vulnerabilities reported by security scanners (e.g. Trivy):
rack~> 3.2sinatra~> 4.2thin~> 2.0 (required for rack 3.x compatibility)Motivation
mailcatcher 0.10.0 currently pins
rack ~> 2.2,sinatra ~> 3.2, andthin ~> 1.8. These versions are flagged by vulnerability scanners for known CVEs in bundled dependencies. Bumping the declared dependencies allows consumers to install patched gem releases without post-install gemspec patching.Test plan
gem build mailcatcher.gemspec && gem install ./mailcatcher-*.gemsucceeds on ruby:3.3-alpinemailcatcher --foregroundstarts and serves the web UI