bullet-train-co / bullet_train

The Open Source Ruby on Rails SaaS Template
MIT License
1.67k stars 267 forks source link

🚨 [security] [ruby] Update rails 7.1.4 → 7.1.4.1 (minor) #1709

Closed depfu[bot] closed 1 month ago

depfu[bot] commented 1 month ago

🚨 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?

✳️ rails (7.1.4 → 7.1.4.1) · Repo

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ actioncable (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ actionmailbox (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

↗️ actionmailer (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Security Advisories 🚨

🚨 Possible ReDoS vulnerability in block_format in Action Mailer

There is a possible ReDoS vulnerability in the block_format helper in Action Mailer. This vulnerability has been assigned the CVE identifier CVE-2024-47889.

Impact

Carefully crafted text can cause the block_format helper to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade or apply the relevant patch immediately.

Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 requires Ruby 3.2 or greater so is unaffected.

Releases

The fixed releases are available at the normal locations.

Workarounds

Users can avoid calling the block_format helper or upgrade to Ruby 3.2

Credits

Thanks to ooooooo_q for the report!

Release Notes

7.1.4.1 (from changelog)

  • Avoid regex backtracking in block_format helper

    [CVE-2024-47889]

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ actionpack (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Security Advisories 🚨

🚨 Possible ReDoS vulnerability in HTTP Token authentication in Action Controller

There is a possible ReDoS vulnerability in Action Controller's HTTP Token authentication. This vulnerability has been assigned the CVE identifier CVE-2024-47887.

Impact

For applications using HTTP Token authentication via authenticate_or_request_with_http_token or similar, a carefully crafted header may cause header parsing to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade or apply the relevant patch immediately.

Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.

Releases

The fixed releases are available at the normal locations.

Workarounds

Users on Ruby 3.2 are unaffected by this issue.

Credits

Thanks to scyoon for reporting

🚨 Possible ReDoS vulnerability in query parameter filtering in Action Dispatch

There is a possible ReDoS vulnerability in the query parameter filtering routines of Action Dispatch. This vulnerability has been assigned the CVE identifier CVE-2024-41128.

Impact

Carefully crafted query parameters can cause query parameter filtering to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade or apply the relevant patch immediately.

Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.

Releases

The fixed releases are available at the normal locations.

Workarounds

Users on Ruby 3.2 are unaffected by this issue.

Credits

Thanks to scyoon for the report and patches!

Release Notes

7.1.4.1 (from changelog)

  • Avoid regex backtracking in HTTP Token authentication

    [CVE-2024-47887]

  • Avoid regex backtracking in query parameter filtering

    [CVE-2024-41128]

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ actiontext (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Security Advisories 🚨

🚨 Possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text

There is a possible ReDoS vulnerability in the plain_text_for_blockquote_node helper in Action Text. This vulnerability has been assigned the CVE identifier CVE-2024-47888.

Impact

Carefully crafted text can cause the plain_text_for_blockquote_node helper to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade or apply the relevant patch immediately.

Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.

Releases

The fixed releases are available at the normal locations.

Workarounds

Users can avoid calling plain_text_for_blockquote_node or upgrade to Ruby 3.2

Credits

Thanks to ooooooo_q for the report!

Release Notes

7.1.4.1 (from changelog)

  • Avoid backtracing in plain_text_for_blockquote_node

    [CVE-2024-47888]

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ actionview (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ activejob (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ activemodel (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ activerecord (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ activestorage (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ activesupport (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ irb (indirect, 1.14.0 → 1.14.1) · Repo

Release Notes

1.14.1

What's Changed

✨ Enhancements

  • Improve easter_egg logo resolution by @tompng in #987

🐛 Bug Fixes

  • Fix kill pager pid throwing Errno::ESRCH when pager process already terminated by @tompng in #989
  • Colorize command input by @tompng in #983
  • Fix easter_egg run without RDoc, fix input-method test run without RDoc by @tompng in #998
  • Remove KEYWORD_ALIASES which handled special alias name of irb_break irb_catch and irb_next command by @tompng in #1004
  • Use InstructionSequence#script_lines to get method source by @tompng in #1005
  • Fix debug command in nomultiline mode by @tompng in #1006

📚 Documentation

🛠 Other Changes

  • Group class methods under class << self by @st0012 in #981
  • Clear ENV["XDG_CONFIG_HOME"] to avoid loading user-defined irbrc in test by @tompng in #982
  • Remove Ruby version checks by @RicardoTrindade in #985
  • Move parse_command method to Context by @st0012 in #993
  • Make colorize test pass with NO_COLOR env set by @tompng in #994
  • Surpressing 'unknown command: “Switch to inspect mode.”' message by @hsbt in #995
  • Skip show_doc tests if RDoc is not available by @hsbt in #997
  • Specify commit hash of yamatanooroti by @tompng in #1000
  • Use proper locale in history encoding test by @tompng in #1008
  • Bump version to v1.14.1 by @st0012 in #1009

New Contributors

Full Changelog: v1.14.0...v1.14.1

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 19 commits:

↗️ net-imap (indirect, 0.4.16 → 0.4.17) · Repo

Release Notes

0.4.17

What's Changed

Added features

  • ✨ Add #extract_responses method (backport: #330) by @nevans in #337
  • ✨ New config option to return frozen dup from #responses (backport: #334) by @nevans in #339
    This will become the default in v0.6.0.

Bug fixes

  • 🐛 Fix SequenceSet[input] when input is a SequenceSet (backport: #326) by @nevans in #327

Other Changes

  • 🥅 Improve SequenceSet frozen errors (backport: #331) by @nevans in #338

Miscellaneous

  • ✅ Add a Mutex to FakeServer (for tests only) (backport: #317) by @nevans in #336
  • ✅ Fix GH action for Rubygems Trusted Publishing (backport: #340) by @nevans in #341

Full Changelog: v0.4.16...v0.4.17

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 21 commits:

↗️ rack (indirect, 2.2.9 → 2.2.10) · Repo · Changelog

Release Notes

2.2.10 (from changelog)

  • Fix compatibility issues with Ruby v3.4.0. (#2248, @byroot)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 2 commits:

↗️ railties (indirect, 7.1.4 → 7.1.4.1) · Repo · Changelog

Release Notes

7.1.4.1 (from changelog)

  • No changes.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ zeitwerk (indirect, 2.6.18 → 2.7.0) · Repo · Changelog

Release Notes

2.7.0 (from changelog)

  • Explicit namespaces can now also be defined using constant assignments.

    While constant assignments like

    # coordinates.rb

    Coordinates = Data.define(:x, :y)

    worked for most objects, they did not for classes and modules that were also namespaces (i.e., those defined by a file and matching subdirectories). In such cases, their child constants could not be autoloaded.

    This limitation has been removed.

  • TracePoint is no longer used.

  • Requires Ruby 3.2 or later.

    Gems that work with previous versions of Zeitwerk also work with this one. If they support Ruby versions older than 3.2 they can specify a relaxed version constraint for Zeitwerk like "~> 2.6", for example.

    In client projects, Bundler takes the Ruby requirement into account when resolving dependencies, so Gemfile.lock will get one compatible with the Ruby version being used.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 15 commits:


Depfu Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)