Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency sinatra to v4.1.0 [SECURITY] #887

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sinatra (source, changelog) 4.0.0 -> 4.1.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-21510

Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.


Release Notes

sinatra/sinatra (sinatra)

v4.1.0

Compare Source

  • New: Add host_authorization setting (#​2053)
    • Defaults to .localhost, .test and any IP address in development mode.
    • Security: addresses CVE-2018-11627.
  • Fix: Return an instance of Sinatra::IndifferentHash when calling #except (#​2044)
  • Fix: Address warning from URI for Ruby 3.4 (#​2060)
  • Fix: rackup no longer depends on WEBrick, recommend Puma instead (4a558503)
  • Fix: Zeitwerk 2.7.0+ compatibility (#​2050)
  • Fix: Address warning about Hash construction for Ruby 3.4 (#​2028)
  • Fix: Declare missing dependencies for Ruby 3.5 (#​2032)
  • Fix: Compatibility with --enable-frozen-string-literal (#​2033)
  • Fix: Rack 3.1 compatibility (#​2035)
    • Don't depend on Rack::Logger
    • Don't delete content-length header when Rack::Files is used

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 becomes conflicted, 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.

@catatsuy catatsuy merged commit 2415b79 into master Nov 24, 2024
4 checks passed
@catatsuy catatsuy deleted the renovate/rubygems-sinatra-vulnerability branch November 24, 2024 06:01
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