Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2025

This PR contains the following updates:

Package Change Age Confidence
sinatra (source, changelog) 4.1.0 -> 4.2.0 age confidence

GitHub Vulnerability Alerts

CVE-2025-61921

Summary

There is a denial of service vulnerability in the If-Match and If-None-Match header parsing component of Sinatra, if the etag method is used when constructing the response and you are using Ruby < 3.2.

Details

Carefully crafted input can cause If-Match and If-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 the ETag header value. Any applications that use the etag 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

  • New: Add :static_headers setting for custom headers in static file responses (#​2089)
  • Fix: Fix regex in etag_matches? to prevent ReDoS (#​2121)
  • Fix: PATH_INFO can never be empty (#​2114)
  • Fix: Fix malformed Content-Type headers (#​2081)
  • Fix: Avoid crash for integer values in content_type parameters (#​2078)

v4.1.1

Compare Source

  • Fix: Restore WEBrick support (#​2067)

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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.

0 participants