🚨 [security] Update sinatra 4.1.1 → 4.2.1 (minor) #315
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sinatra (4.1.1 → 4.2.1) · Repo · Changelog
Security Advisories 🚨
🚨 Sinatra is vulnerable to ReDoS through ETag header value generation
Release Notes
4.2.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
4.2.1 release (#2125)
Revert "`PATH_INFO` can never be empty." (#2124)
4.2.0 release (#2122)
Fix regex in `etag_matches?` to prevent ReDoS (#2121)
`PATH_INFO` can never be empty. (#2114)
Skip broken tests. (#2115)
Sync changelog for v4.0.1
Add :static_headers setting for custom headers in static file responses (#2089)
Set `rubygems_mfa_required` for the `sinatra` gem (#2087)
README: Remove duplicate mention of installing puma (#2091)
CI: don't use `Rack::Lint` on invalid hostname (#2086)
CI: Test with Ruby 3.4 (#2083)
Fix malformed Content-Type headers (#2081)
Avoid crash for integer values in `content_type` parameters (#2078)
Commits
See the full diff on Github. The new version differs by 6 commits:
Prepare for v3.0.4
CI: add Ruby 3.4
Use `URI::RFC2396_Parser` in mustermann-contrib (#146)
Add `irb` as test dependency
Use long flags in `.rspec`
CI: allow truffleruby to fail
Security Advisories 🚨
🚨 Rack has a Possible Information Disclosure Vulnerability
🚨 Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing
🚨 Rack has a Possible Information Disclosure Vulnerability
🚨 Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing
🚨 Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
🚨 Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
🚨 Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)
Release Notes
3.2.2 (from changelog)
3.2.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
4.2.1 (from changelog)
4.2.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
4.2.1 release (#2125)
Revert "`PATH_INFO` can never be empty." (#2124)
4.2.0 release (#2122)
Fix regex in `etag_matches?` to prevent ReDoS (#2121)
`PATH_INFO` can never be empty. (#2114)
Skip broken tests. (#2115)
Sync changelog for v4.0.1
Add :static_headers setting for custom headers in static file responses (#2089)
Set `rubygems_mfa_required` for the `sinatra` gem (#2087)
README: Remove duplicate mention of installing puma (#2091)
CI: don't use `Rack::Lint` on invalid hostname (#2086)
CI: Test with Ruby 3.4 (#2083)
Fix malformed Content-Type headers (#2081)
Avoid crash for integer values in `content_type` parameters (#2078)
Release Notes
2.6.1 (from changelog)
2.6.0 (from changelog)
2.5.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 30 commits:
Bump version to 2.6.1
Fix commonmarker tests with recent commonmarker versions
Fix race condition during parallel coverage testing using Template compiled_path option/method
Add JRuby 10.0 to CI
Limit Redcarpet version in CI on Ruby 2.0
Add base64 and logger to CI gemfile
Drop JRuby 9.1 CI
Try readding JRuby 9.1/9.2 CI
Bump version to 2.6.0
Document :scope_class option in README
Simplify template cache key when using :scope_class option without fixed locals
Support :compiled_path option, needed for compiled paths when using :scope_class and fixed_locals
Drop JRuby 9.1-9.3 CI
Document template options in Template#initialize
Support :scope_class option to force a specific scope class, instead of using the class of the provided scope
Support fixed locals for templates
Add Ruby 3.4 to CI
Remove unused variables in commonmarker tests
Remove warning filter for radius
Update CHANGELOG
Bump version to 2.5.0
Try to fix CI for JRuby 9.3/9.4
Update tests to pass with commonmarker 2
Update warning filters
Deprecate creole templates as they require modifying frozen string literals
Remove deprecated erubis, wikicloth, and maruku templates
Use -W:strict_unused_block when running tests on Ruby 3.4+
Avoid spurious frozen string literal deprecation warnings on Ruby 3.4.0-preview2+
Document use of StaticTemplate
Remove documentation about requiring libraries in rdoc/liquid templates
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands