chore(deps): update dependency sinatra to v4.2.0 [security] #185
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.
This PR contains the following updates:
4.1.0
->4.2.0
GitHub Vulnerability Alerts
CVE-2025-61921
Summary
There is a denial of service vulnerability in the
If-Match
andIf-None-Match
header parsing component of Sinatra, if theetag
method is used when constructing the response and you are using Ruby < 3.2.Details
Carefully crafted input can cause
If-Match
andIf-None-Match
header parsing in Sinatra to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is typically involved in generating theETag
header value. Any applications that use theetag
method when generating a response are impacted if they are using Ruby below version 3.2.Resources
Release Notes
sinatra/sinatra (sinatra)
v4.2.0
Compare Source
:static_headers
setting for custom headers in static file responses (#2089)etag_matches?
to prevent ReDoS (#2121)PATH_INFO
can never be empty (#2114)content_type
parameters (#2078)v4.1.1
Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.