🚨 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.
There is a possible XSS vulnerability when using the translation helpers
(translate, t, etc) in Action Controller. This vulnerability has been
assigned the CVE identifier CVE-2024-26143.
Versions Affected: All. Not affected: None Fixed Versions: 7.1.3.1, 7.0.8.1
Impact
Applications using translation methods like translate, or t on a
controller, with a key ending in “_html”, a :default key which contains
untrusted user input, and the resulting string is used in a view, may be
susceptible to an XSS vulnerability.
For example, impacted code will look something like this:
class ArticlesController < ApplicationController
def show
@message = t("message_html", default: untrusted_input)
# The `show` template displays the contents of `@message`
end
end
To reiterate the pre-conditions, applications must:
Use a translation function from a controller (i.e. notI18n.t, or t from a view)
Use a key that ends in _html
Use a default value where the default value is untrusted and unescaped input
Send the text to the victim (whether that’s part of a template, or a render call)
All users running an affected release should either upgrade or use one of the workarounds immediately.
Releases
The fixed releases are available at the normal locations.
There is a possible ReDoS vulnerability in the Accept header parsing routines
of Action Dispatch. This vulnerability has been assigned the CVE identifier
CVE-2024-26142.
Carefully crafted Accept headers can cause Accept header parsing in
Action Dispatch to take an unexpected amount of time, possibly resulting in a
DoS vulnerability. All users running an affected release should either upgrade
or use one of the workarounds immediately.
Ruby 3.2 has mitigations for this problem, so Rails applications using
Ruby 3.2 or newer are unaffected.
Releases
The fixed releases are available at the normal locations.
Workarounds
There are no feasible workarounds for this issue.
Release Notes
7.1.3.2 (from changelog)
Fix raise_on_missing_translations not working correctly with the
translate method in controllers after the patch for CVE-2024-26143.
7.1.3.1 (from changelog)
Fix possible XSS vulnerability with the translate method in controllers
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)
🚨 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.3 → 7.1.3.2) · Repo
Release Notes
7.1.3.2
7.1.3.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ actioncable (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ actionmailbox (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
↗️ actionmailer (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ actionpack (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Security Advisories 🚨
🚨 Possible XSS Vulnerability in Action Controller
🚨 Possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ actiontext (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ actionview (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ activejob (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ activemodel (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ activerecord (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ activestorage (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ activesupport (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
↗️ railties (indirect, 7.1.3 → 7.1.3.2) · Repo · Changelog
Release Notes
7.1.3.2 (from changelog)
7.1.3.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Preparing for 7.1.3.2 release
Respect raise_on_missing_ in controller
Preparing for 7.1.3.1 release
update changelog
fix XSS vulnerability when using translation
Fix ReDoS in accept header scanning
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