Ruby/actionpack/6.0.3.7
Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.
Repo Link: https://rubygems.org/gems/actionpack License: MIT
21 Security Vulnerabilities Published date: 2021-08-26T20:36:51Z
CVE: CVE-2021-22942
Overview There is a possible open redirect vulnerability in the Host Authorization middleware in Action Pack. This vulnerability has been assigned the CVE identifier CVE-2021-22942.
Versions Affected: >= 6.0.0. Not affected: < 6.0.0 Fixed Versions: 6.1.4.1, 6.0.4.1
Impact Specially crafted “X-Forwarded-Host” headers in combination with certain “allowed host” formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:
config.hosts << '.EXAMPLE.com'
When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.
This vulnerability is similar to CVE-2021-22881, but CVE-2021-22881 did not take in to account domain name case sensitivity.
Releases The fixed releases are available at the normal locations.
Workarounds In the case a patch can’t be applied, the following monkey patch can be used in an initializer:
module ActionDispatch
class HostAuthorization
HOSTNAME = /[a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9.:]+\]/i
VALID_ORIGIN_HOST = /\A(#{HOSTNAME})(?::\d+)?\z/
VALID_FORWARDED_HOST = /(?:\A|,[ ]?)(#{HOSTNAME})(?::\d+)?\z/
private
def authorized?(request)
origin_host =
request.get_header("HTTP_HOST")&.slice(VALID_ORIGIN_HOST, 1) || ""
forwarded_host =
request.x_forwarded_host&.slice(VALID_FORWARDED_HOST, 1) || ""
@permissions.allows?(origin_host) &&
(forwarded_host.blank? || @permissions.allows?(forwarded_host))
end
end
end
Affected versions: ["6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2023-06-29T15:03:16Z
CVE: CVE-2023-28362
The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header. This vulnerability has been assigned the CVE identifier CVE-2023-28362.
Versions Affected: All. Not affected: None Fixed Versions: 7.0.5.1, 6.1.7.4
Impact This introduces the potential for a Cross-site-scripting (XSS) payload to be delivered on the now static redirection page. Note that this both requires user interaction and for a Rails app to be configured to allow redirects to external hosts (defaults to false in Rails >= 7.0.x).
Releases The FIXED releases are available at the normal locations.
Workarounds Avoid providing user supplied URLs with arbitrary schemes to the redirect_to method.
Affected versions: ["7.0.5", "7.0.4.3", "7.0.4.2", "7.0.4.1", "7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "6.1.7.3", "6.1.7.2", "6.1.7.1", "6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.rc1", "6.0.0.beta3", "6.0.0.beta2", "6.0.0.beta1", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0", "5.0.0.rc2", "5.0.0.rc1", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "5.0.0.beta1.1", "5.0.0.beta1", "5.0.0.racecar1", "4.2.11.3", "4.2.11.2", "4.2.11.1", "4.2.11", "4.2.10", "4.2.10.rc1", "4.2.9", "4.2.9.rc2", "4.2.9.rc1", "4.2.8", "4.2.8.rc1", "4.2.7.1", "4.2.7", "4.2.7.rc1", "4.2.6", "4.2.6.rc1", "4.2.5.2", "4.2.5.1", "4.2.5", "4.2.5.rc2", "4.2.5.rc1", "4.2.4", "4.2.4.rc1", "4.2.3", "4.2.3.rc1", "4.2.2", "4.2.1", "4.2.1.rc4", "4.2.1.rc3", "4.2.1.rc2", "4.2.1.rc1", "4.2.0", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.rc1", "4.2.0.beta4", "4.2.0.beta3", "4.2.0.beta2", "4.2.0.beta1", "4.1.16", "4.1.16.rc1", "4.1.15", "4.1.15.rc1", "4.1.14.2", "4.1.14.1", "4.1.14", "4.1.14.rc2", "4.1.14.rc1", "4.1.13", "4.1.13.rc1", "4.1.12", "4.1.12.rc1", "4.1.11", "4.1.10", "4.1.10.rc4", "4.1.10.rc3", "4.1.10.rc2", "4.1.10.rc1", "4.1.9", "4.1.9.rc1", "4.1.8", "4.1.7.1", "4.1.7", "4.1.6", "4.1.6.rc2", "4.1.6.rc1", "4.1.5", "4.1.4", "4.1.3", "4.1.2", "4.1.2.rc3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.1.0", "4.1.0.rc2", "4.1.0.rc1", "4.1.0.beta2", "4.1.0.beta1", "4.0.13", "4.0.13.rc1", "4.0.12", "4.0.11.1", "4.0.11", "4.0.10", "4.0.10.rc2", "4.0.10.rc1", "4.0.9", "4.0.8", "4.0.7", "4.0.6", "4.0.6.rc3", "4.0.6.rc2", "4.0.6.rc1", "4.0.5", "4.0.4", "4.0.4.rc1", "4.0.3", "4.0.2", "4.0.1", "4.0.1.rc4", "4.0.1.rc3", "4.0.1.rc2", "4.0.1.rc1", "4.0.0", "4.0.0.rc2", "4.0.0.rc1", "4.0.0.beta1", "3.2.22.5", "3.2.22.4", "3.2.22.3", "3.2.22.2", "3.2.22.1", "3.2.22", "3.2.21", "3.2.20", "3.2.19", "3.2.18", "3.2.17", "3.2.16", "3.2.15", "3.2.15.rc3", "3.2.15.rc2", "3.2.15.rc1", "3.2.14", "3.2.14.rc2", "3.2.14.rc1", "3.2.13", "3.2.13.rc2", "3.2.13.rc1", "3.2.12", "3.2.11", "3.2.10", "3.2.9", "3.2.9.rc3", "3.2.9.rc2", "3.2.9.rc1", "3.2.8", "3.2.8.rc2", "3.2.8.rc1", "3.2.7", "3.2.7.rc1", "3.2.6", "3.2.5", "3.2.4", "3.2.4.rc1", "3.2.3", "3.2.3.rc2", "3.2.3.rc1", "3.2.2", "3.2.2.rc1", "3.2.1", "3.2.0", "3.2.0.rc2", "3.2.0.rc1", "3.1.12", "3.1.11", "3.1.10", "3.1.9", "3.1.8", "3.1.7", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.4", "3.1.4.rc1", "3.1.3", "3.1.2", "3.1.2.rc2", "3.1.2.rc1", "3.1.1", "3.1.1.rc3", "3.1.1.rc2", "3.1.1.rc1", "3.1.0", "3.1.0.rc8", "3.1.0.rc6", "3.1.0.rc5", "3.1.0.rc4", "3.1.0.rc3", "3.1.0.rc2", "3.1.0.rc1", "3.1.0.beta1", "3.0.20", "3.0.19", "3.0.18", "3.0.17", "3.0.16", "3.0.15", "3.0.14", "3.0.13", "3.0.13.rc1", "3.0.12", "3.0.12.rc1", "3.0.11", "3.0.10", "3.0.10.rc1", "3.0.9", "3.0.9.rc5", "3.0.9.rc4", "3.0.9.rc3", "3.0.9.rc1", "3.0.8", "3.0.8.rc4", "3.0.8.rc2", "3.0.8.rc1", "3.0.7", "3.0.7.rc2", "3.0.7.rc1", "3.0.6", "3.0.6.rc2", "3.0.6.rc1", "3.0.5", "3.0.5.rc1", "3.0.4", "3.0.4.rc1", "3.0.3", "3.0.2", "3.0.1", "3.0.0", "3.0.0.rc2", "3.0.0.rc", "3.0.0.beta4", "3.0.0.beta3", "3.0.0.beta2", "3.0.0.beta", "2.3.18", "2.3.17", "2.3.16", "2.3.15", "2.3.14", "2.3.12", "2.3.11", "2.3.10", "2.3.9", "2.3.9.pre", "2.3.8", "2.3.8.pre1", "2.3.7", "2.3.6", "2.3.5", "2.3.4", "2.3.3", "2.3.2", "2.2.3", "2.2.2", "2.1.2", "2.1.1", "2.1.0", "2.0.5", "2.0.4", "2.0.2", "2.0.1", "2.0.0", "1.13.6", "1.13.5", "1.13.4", "1.13.3", "1.13.2", "1.13.1", "1.13.0", "1.12.5", "1.12.4", "1.12.3", "1.12.2", "1.12.1", "1.12.0", "1.11.2", "1.11.1", "1.11.0", "1.10.2", "1.10.1", "1.9.1", "1.9.0", "1.8.1", "1.8.0", "1.7.0", "1.6.0", "1.5.1", "1.5.0", "1.4.0", "1.3.1", "1.3.0", "1.2.0", "1.1.0", "1.0.1", "1.0.0", "0.9.5", "0.9.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2023-01-18T18:20:51Z
CVE: CVE-2023-22795
There is a possible regular expression based DoS vulnerability in Action Dispatch related to the If-None-Match header. This vulnerability has been assigned the CVE identifier CVE-2023-22795.
Versions Affected: All Not affected: None Fixed Versions: 5.2.8.15 (Rails LTS), 6.1.7.1, 7.0.4.1
Impact
A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability 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. Workarounds
We recommend that all users upgrade to one of the FIXED versions. In the meantime, users can mitigate this vulnerability by using a load balancer or other device to filter out malicious If-None-Match headers before they reach the application.
Users on Ruby 3.2.0 or greater are not affected by this vulnerability. Patches
To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.
6-1-Avoid-regex-backtracking-on-If-None-Match-header.patch - Patch for 6.1 series
7-0-Avoid-regex-backtracking-on-If-None-Match-header.patch - Patch for 7.0 series
Please note that only the 7.0.Z and 6.1.Z series are supported at present, and 6.0.Z for severe vulnerabilities. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases.
Affected versions: ["6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.rc1", "6.0.0.beta3", "6.0.0.beta2", "6.0.0.beta1", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0", "5.0.0.rc2", "5.0.0.rc1", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "5.0.0.beta1.1", "5.0.0.beta1", "5.0.0.racecar1", "4.2.11.3", "4.2.11.2", "4.2.11.1", "4.2.11", "4.2.10", "4.2.10.rc1", "4.2.9", "4.2.9.rc2", "4.2.9.rc1", "4.2.8", "4.2.8.rc1", "4.2.7.1", "4.2.7", "4.2.7.rc1", "4.2.6", "4.2.6.rc1", "4.2.5.2", "4.2.5.1", "4.2.5", "4.2.5.rc2", "4.2.5.rc1", "4.2.4", "4.2.4.rc1", "4.2.3", "4.2.3.rc1", "4.2.2", "4.2.1", "4.2.1.rc4", "4.2.1.rc3", "4.2.1.rc2", "4.2.1.rc1", "4.2.0", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.rc1", "4.2.0.beta4", "4.2.0.beta3", "4.2.0.beta2", "4.2.0.beta1", "4.1.16", "4.1.16.rc1", "4.1.15", "4.1.15.rc1", "4.1.14.2", "4.1.14.1", "4.1.14", "4.1.14.rc2", "4.1.14.rc1", "4.1.13", "4.1.13.rc1", "4.1.12", "4.1.12.rc1", "4.1.11", "4.1.10", "4.1.10.rc4", "4.1.10.rc3", "4.1.10.rc2", "4.1.10.rc1", "4.1.9", "4.1.9.rc1", "4.1.8", "4.1.7.1", "4.1.7", "4.1.6", "4.1.6.rc2", "4.1.6.rc1", "4.1.5", "4.1.4", "4.1.3", "4.1.2", "4.1.2.rc3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.1.0", "4.1.0.rc2", "4.1.0.rc1", "4.1.0.beta2", "4.1.0.beta1", "4.0.13", "4.0.13.rc1", "4.0.12", "4.0.11.1", "4.0.11", "4.0.10", "4.0.10.rc2", "4.0.10.rc1", "4.0.9", "4.0.8", "4.0.7", "4.0.6", "4.0.6.rc3", "4.0.6.rc2", "4.0.6.rc1", "4.0.5", "4.0.4", "4.0.4.rc1", "4.0.3", "4.0.2", "4.0.1", "4.0.1.rc4", "4.0.1.rc3", "4.0.1.rc2", "4.0.1.rc1", "4.0.0", "4.0.0.rc2", "4.0.0.rc1", "4.0.0.beta1", "7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2022-10-27T12:00:27Z
CVE: CVE-2022-3704
actionpack from the Ruby on Rails project is vulnerable to Cross-site Scripting in the Route Error Page. This issue has been patched with this commit .
This vulnerability is disputed by the Rails security team. It requires that the developer is tricked into copy pasting a malicious javascript-containing string into a development-only error page accessible only via localhost.
Affected versions: ["7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "7.0.0.rc3", "7.0.0.rc2", "7.0.0.rc1", "7.0.0.alpha2", "7.0.0.alpha1", "6.1.7.10", "6.1.7.9", "6.1.7.8", "6.1.7.7", "6.1.7.6", "6.1.7.5", "6.1.7.4", "6.1.7.3", "6.1.7.2", "6.1.7.1", "6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.rc1", "6.0.0.beta3", "6.0.0.beta2", "6.0.0.beta1", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0", "5.0.0.rc2", "5.0.0.rc1", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "5.0.0.beta1.1", "5.0.0.beta1", "5.0.0.racecar1", "4.2.11.3", "4.2.11.2", "4.2.11.1", "4.2.11", "4.2.10", "4.2.10.rc1", "4.2.9", "4.2.9.rc2", "4.2.9.rc1", "4.2.8", "4.2.8.rc1", "4.2.7.1", "4.2.7", "4.2.7.rc1", "4.2.6", "4.2.6.rc1", "4.2.5.2", "4.2.5.1", "4.2.5", "4.2.5.rc2", "4.2.5.rc1", "4.2.4", "4.2.4.rc1", "4.2.3", "4.2.3.rc1", "4.2.2", "4.2.1", "4.2.1.rc4", "4.2.1.rc3", "4.2.1.rc2", "4.2.1.rc1", "4.2.0", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.rc1", "4.2.0.beta4", "4.2.0.beta3", "4.2.0.beta2", "4.2.0.beta1", "4.1.16", "4.1.16.rc1", "4.1.15", "4.1.15.rc1", "4.1.14.2", "4.1.14.1", "4.1.14", "4.1.14.rc2", "4.1.14.rc1", "4.1.13", "4.1.13.rc1", "4.1.12", "4.1.12.rc1", "4.1.11", "4.1.10", "4.1.10.rc4", "4.1.10.rc3", "4.1.10.rc2", "4.1.10.rc1", "4.1.9", "4.1.9.rc1", "4.1.8", "4.1.7.1", "4.1.7", "4.1.6", "4.1.6.rc2", "4.1.6.rc1", "4.1.5", "4.1.4", "4.1.3", "4.1.2", "4.1.2.rc3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.1.0", "4.1.0.rc2", "4.1.0.rc1", "4.1.0.beta2", "4.1.0.beta1", "4.0.13", "4.0.13.rc1", "4.0.12", "4.0.11.1", "4.0.11", "4.0.10", "4.0.10.rc2", "4.0.10.rc1", "4.0.9", "4.0.8", "4.0.7", "4.0.6", "4.0.6.rc3", "4.0.6.rc2", "4.0.6.rc1", "4.0.5", "4.0.4", "4.0.4.rc1", "4.0.3", "4.0.2", "4.0.1", "4.0.1.rc4", "4.0.1.rc3", "4.0.1.rc2", "4.0.1.rc1", "4.0.0", "4.0.0.rc2", "4.0.0.rc1", "4.0.0.beta1", "3.2.22.5", "3.2.22.4", "3.2.22.3", "3.2.22.2", "3.2.22.1", "3.2.22", "3.2.21", "3.2.20", "3.2.19", "3.2.18", "3.2.17", "3.2.16", "3.2.15", "3.2.15.rc3", "3.2.15.rc2", "3.2.15.rc1", "3.2.14", "3.2.14.rc2", "3.2.14.rc1", "3.2.13", "3.2.13.rc2", "3.2.13.rc1", "3.2.12", "3.2.11", "3.2.10", "3.2.9", "3.2.9.rc3", "3.2.9.rc2", "3.2.9.rc1", "3.2.8", "3.2.8.rc2", "3.2.8.rc1", "3.2.7", "3.2.7.rc1", "3.2.6", "3.2.5", "3.2.4", "3.2.4.rc1", "3.2.3", "3.2.3.rc2", "3.2.3.rc1", "3.2.2", "3.2.2.rc1", "3.2.1", "3.2.0", "3.2.0.rc2", "3.2.0.rc1", "3.1.12", "3.1.11", "3.1.10", "3.1.9", "3.1.8", "3.1.7", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.4", "3.1.4.rc1", "3.1.3", "3.1.2", "3.1.2.rc2", "3.1.2.rc1", "3.1.1", "3.1.1.rc3", "3.1.1.rc2", "3.1.1.rc1", "3.1.0", "3.1.0.rc8", "3.1.0.rc6", "3.1.0.rc5", "3.1.0.rc4", "3.1.0.rc3", "3.1.0.rc2", "3.1.0.rc1", "3.1.0.beta1", "3.0.20", "3.0.19", "3.0.18", "3.0.17", "3.0.16", "3.0.15", "3.0.14", "3.0.13", "3.0.13.rc1", "3.0.12", "3.0.12.rc1", "3.0.11", "3.0.10", "3.0.10.rc1", "3.0.9", "3.0.9.rc5", "3.0.9.rc4", "3.0.9.rc3", "3.0.9.rc1", "3.0.8", "3.0.8.rc4", "3.0.8.rc2", "3.0.8.rc1", "3.0.7", "3.0.7.rc2", "3.0.7.rc1", "3.0.6", "3.0.6.rc2", "3.0.6.rc1", "3.0.5", "3.0.5.rc1", "3.0.4", "3.0.4.rc1", "3.0.3", "3.0.2", "3.0.1", "3.0.0", "3.0.0.rc2", "3.0.0.rc", "3.0.0.beta4", "3.0.0.beta3", "3.0.0.beta2", "3.0.0.beta", "2.3.18", "2.3.17", "2.3.16", "2.3.15", "2.3.14", "2.3.12", "2.3.11", "2.3.10", "2.3.9", "2.3.9.pre", "2.3.8", "2.3.8.pre1", "2.3.7", "2.3.6", "2.3.5", "2.3.4", "2.3.3", "2.3.2", "2.2.3", "2.2.2", "2.1.2", "2.1.1", "2.1.0", "2.0.5", "2.0.4", "2.0.2", "2.0.1", "2.0.0", "1.13.6", "1.13.5", "1.13.4", "1.13.3", "1.13.2", "1.13.1", "1.13.0", "1.12.5", "1.12.4", "1.12.3", "1.12.2", "1.12.1", "1.12.0", "1.11.2", "1.11.1", "1.11.0", "1.10.2", "1.10.1", "1.9.1", "1.9.0", "1.8.1", "1.8.0", "1.7.0", "1.6.0", "1.5.1", "1.5.0", "1.4.0", "1.3.1", "1.3.0", "1.2.0", "1.1.0", "1.0.1", "1.0.0", "0.9.5", "0.9.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2022-04-27T22:28:59Z
CVE: CVE-2022-22577
There is a possible XSS vulnerability in Rails / Action Pack. This vulnerability has been assigned the CVE identifier CVE-2022-22577.
Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1
Impact CSP headers were only sent along with responses that Rails considered as HTML responses. This left API requests without CSP headers, which could possibly expose users to XSS attacks.
Releases The FIXED releases are available at the normal locations.
Workarounds Set a CSP for your API responses manually.
Affected versions: ["7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2023-01-18T18:23:34Z
CVE: CVE-2023-22792
There is a possible regular expression based DoS vulnerability in Action Dispatch. This vulnerability has been assigned the CVE identifier CVE-2023-22792.
Versions Affected: >= 3.0.0 Not affected: < 3.0.0 Fixed Versions: 5.2.8.15 (Rails LTS), 6.1.7.1, 7.0.4.1 Impact
Specially crafted cookies, in combination with a specially crafted XFORWARDED HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability 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. Workarounds
We recommend that all users upgrade to one of the FIXED versions. In the meantime, users can mitigate this vulnerability by using a load balancer or other device to filter out malicious XFORWARDED HOST headers before they reach the application. Patches
To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.
6-1-Use-string-split-instead-of-regex-for-domain-parts.patch - Patch for 6.1 series
7-0-Use-string-split-instead-of-regex-for-domain-parts.patch - Patch for 7.0 series
Please note that only the 7.0.Z and 6.1.Z series are supported at present, and 6.0.Z for severe vulnerabilities. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases.
https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released
Affected versions: ["6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0", "5.0.0.rc2", "5.0.0.rc1", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "5.0.0.beta1.1", "5.0.0.beta1", "5.0.0.racecar1", "4.2.11.3", "4.2.11.2", "4.2.11.1", "4.2.11", "4.2.10", "4.2.10.rc1", "4.2.9", "4.2.9.rc2", "4.2.9.rc1", "4.2.8", "4.2.8.rc1", "4.2.7.1", "4.2.7", "4.2.7.rc1", "4.2.6", "4.2.6.rc1", "4.2.5.2", "4.2.5.1", "4.2.5", "4.2.5.rc2", "4.2.5.rc1", "4.2.4", "4.2.4.rc1", "4.2.3", "4.2.3.rc1", "4.2.2", "4.2.1", "4.2.1.rc4", "4.2.1.rc3", "4.2.1.rc2", "4.2.1.rc1", "4.2.0", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.rc1", "4.2.0.beta4", "4.2.0.beta3", "4.2.0.beta2", "4.2.0.beta1", "4.1.16", "4.1.16.rc1", "4.1.15", "4.1.15.rc1", "4.1.14.2", "4.1.14.1", "4.1.14", "4.1.14.rc2", "4.1.14.rc1", "4.1.13", "4.1.13.rc1", "4.1.12", "4.1.12.rc1", "4.1.11", "4.1.10", "4.1.10.rc4", "4.1.10.rc3", "4.1.10.rc2", "4.1.10.rc1", "4.1.9", "4.1.9.rc1", "4.1.8", "4.1.7.1", "4.1.7", "4.1.6", "4.1.6.rc2", "4.1.6.rc1", "4.1.5", "4.1.4", "4.1.3", "4.1.2", "4.1.2.rc3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.1.0", "4.1.0.rc2", "4.1.0.rc1", "4.1.0.beta2", "4.1.0.beta1", "4.0.13", "4.0.13.rc1", "4.0.12", "4.0.11.1", "4.0.11", "4.0.10", "4.0.10.rc2", "4.0.10.rc1", "4.0.9", "4.0.8", "4.0.7", "4.0.6", "4.0.6.rc3", "4.0.6.rc2", "4.0.6.rc1", "4.0.5", "4.0.4", "4.0.4.rc1", "4.0.3", "4.0.2", "4.0.1", "4.0.1.rc4", "4.0.1.rc3", "4.0.1.rc2", "4.0.1.rc1", "4.0.0", "4.0.0.rc2", "4.0.0.rc1", "4.0.0.beta1", "3.2.22.5", "3.2.22.4", "3.2.22.3", "3.2.22.2", "3.2.22.1", "3.2.22", "3.2.21", "3.2.20", "3.2.19", "3.2.18", "3.2.17", "3.2.16", "3.2.15", "3.2.15.rc3", "3.2.15.rc2", "3.2.15.rc1", "3.2.14", "3.2.14.rc2", "3.2.14.rc1", "3.2.13", "3.2.13.rc2", "3.2.13.rc1", "3.2.12", "3.2.11", "3.2.10", "3.2.9", "3.2.9.rc3", "3.2.9.rc2", "3.2.9.rc1", "3.2.8", "3.2.8.rc2", "3.2.8.rc1", "3.2.7", "3.2.7.rc1", "3.2.6", "3.2.5", "3.2.4", "3.2.4.rc1", "3.2.3", "3.2.3.rc2", "3.2.3.rc1", "3.2.2", "3.2.2.rc1", "3.2.1", "3.2.0", "3.2.0.rc2", "3.2.0.rc1", "3.1.12", "3.1.11", "3.1.10", "3.1.9", "3.1.8", "3.1.7", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.4", "3.1.4.rc1", "3.1.3", "3.1.2", "3.1.2.rc2", "3.1.2.rc1", "3.1.1", "3.1.1.rc3", "3.1.1.rc2", "3.1.1.rc1", "3.1.0", "3.1.0.rc8", "3.1.0.rc6", "3.1.0.rc5", "3.1.0.rc4", "3.1.0.rc3", "3.1.0.rc2", "3.1.0.rc1", "3.1.0.beta1", "3.0.20", "3.0.19", "3.0.18", "3.0.17", "3.0.16", "3.0.15", "3.0.14", "3.0.13", "3.0.13.rc1", "3.0.12", "3.0.12.rc1", "3.0.11", "3.0.10", "3.0.10.rc1", "3.0.9", "3.0.9.rc5", "3.0.9.rc4", "3.0.9.rc3", "3.0.9.rc1", "3.0.8", "3.0.8.rc4", "3.0.8.rc2", "3.0.8.rc1", "3.0.7", "3.0.7.rc2", "3.0.7.rc1", "3.0.6", "3.0.6.rc2", "3.0.6.rc1", "3.0.5", "3.0.5.rc1", "3.0.4", "3.0.4.rc1", "3.0.3", "3.0.2", "3.0.1", "3.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2021-12-14T21:19:08Z
CVE: CVE-2021-44528
Specially crafted X-Forwarded-Host headers in combination with certain allowed host formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:
config.hosts << '.EXAMPLE.com'
When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.
This vulnerability is similar to CVE-2021-22881 and CVE-2021-22942.
Releases The fixed releases are available at the normal locations.
Patches To aid users who aren't able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.
6-0-host-authorzation-open-redirect.patch - Patch for 6.0 series 6-1-host-authorzation-open-redirect.patch - Patch for 6.1 series 7-0-host-authorzation-open-redirect.patch - Patch for 7.0 series Please note that only the 6.1.Z, 6.0.Z, and 5.2.Z series are supported at present. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases.
Affected versions: ["6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2024-10-15T23:35:35Z
CVE: CVE-2024-47887
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
Affected versions: ["7.2.1", "7.2.0", "7.1.4", "7.1.3.4", "7.1.3.3", "7.1.3.2", "7.1.3.1", "7.1.3", "7.1.2", "7.1.1", "7.1.0", "7.0.8.4", "7.0.8.3", "7.0.8.2", "7.0.8.1", "7.0.8", "7.0.7.2", "7.0.7.1", "7.0.7", "7.0.6", "7.0.5.1", "7.0.5", "7.0.4.3", "7.0.4.2", "7.0.4.1", "7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "6.1.7.8", "6.1.7.7", "6.1.7.6", "6.1.7.5", "6.1.7.4", "6.1.7.3", "6.1.7.2", "6.1.7.1", "6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.rc1", "6.0.0.beta3", "6.0.0.beta2", "6.0.0.beta1", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0", "5.0.0.rc2", "5.0.0.rc1", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "5.0.0.beta1.1", "5.0.0.beta1", "5.0.0.racecar1", "4.2.11.3", "4.2.11.2", "4.2.11.1", "4.2.11", "4.2.10", "4.2.10.rc1", "4.2.9", "4.2.9.rc2", "4.2.9.rc1", "4.2.8", "4.2.8.rc1", "4.2.7.1", "4.2.7", "4.2.7.rc1", "4.2.6", "4.2.6.rc1", "4.2.5.2", "4.2.5.1", "4.2.5", "4.2.5.rc2", "4.2.5.rc1", "4.2.4", "4.2.4.rc1", "4.2.3", "4.2.3.rc1", "4.2.2", "4.2.1", "4.2.1.rc4", "4.2.1.rc3", "4.2.1.rc2", "4.2.1.rc1", "4.2.0", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.rc1", "4.2.0.beta4", "4.2.0.beta3", "4.2.0.beta2", "4.2.0.beta1", "4.1.16", "4.1.16.rc1", "4.1.15", "4.1.15.rc1", "4.1.14.2", "4.1.14.1", "4.1.14", "4.1.14.rc2", "4.1.14.rc1", "4.1.13", "4.1.13.rc1", "4.1.12", "4.1.12.rc1", "4.1.11", "4.1.10", "4.1.10.rc4", "4.1.10.rc3", "4.1.10.rc2", "4.1.10.rc1", "4.1.9", "4.1.9.rc1", "4.1.8", "4.1.7.1", "4.1.7", "4.1.6", "4.1.6.rc2", "4.1.6.rc1", "4.1.5", "4.1.4", "4.1.3", "4.1.2", "4.1.2.rc3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.1.0", "4.1.0.rc2", "4.1.0.rc1", "4.1.0.beta2", "4.1.0.beta1", "4.0.13", "4.0.13.rc1", "4.0.12", "4.0.11.1", "4.0.11", "4.0.10", "4.0.10.rc2", "4.0.10.rc1", "4.0.9", "4.0.8", "4.0.7", "4.0.6", "4.0.6.rc3", "4.0.6.rc2", "4.0.6.rc1", "4.0.5", "4.0.4", "4.0.4.rc1", "4.0.3", "4.0.2", "4.0.1", "4.0.1.rc4", "4.0.1.rc3", "4.0.1.rc2", "4.0.1.rc1", "4.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2024-12-10T22:42:27Z
CVE: CVE-2024-54133
There is a possible Cross Site Scripting (XSS) vulnerability in the content_security_policy helper in Action Pack.
Impact Applications which set Content-Security-Policy (CSP) headers dynamically from untrusted user input may be vulnerable to carefully crafted inputs being able to inject new directives into the CSP. This could lead to a bypass of the CSP and its protection against XSS and other attacks.
Releases The fixed releases are available at the normal locations.
Workarounds Applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input.
Credits Thanks to ryotak for the report!
Affected versions: ["8.0.0", "7.2.2", "7.2.1.2", "7.2.1.1", "7.2.1", "7.2.0", "7.1.5", "7.1.4.2", "7.1.4.1", "7.1.4", "7.1.3.4", "7.1.3.3", "7.1.3.2", "7.1.3.1", "7.1.3", "7.1.2", "7.1.1", "7.1.0", "7.0.8.6", "7.0.8.5", "7.0.8.4", "7.0.8.3", "7.0.8.2", "7.0.8.1", "7.0.8", "7.0.7.2", "7.0.7.1", "7.0.7", "7.0.6", "7.0.5.1", "7.0.5", "7.0.4.3", "7.0.4.2", "7.0.4.1", "7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "7.0.0.rc3", "7.0.0.rc2", "7.0.0.rc1", "7.0.0.alpha2", "7.0.0.alpha1", "6.1.7.10", "6.1.7.9", "6.1.7.8", "6.1.7.7", "6.1.7.6", "6.1.7.5", "6.1.7.4", "6.1.7.3", "6.1.7.2", "6.1.7.1", "6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.rc1", "6.0.0.beta3", "6.0.0.beta2", "6.0.0.beta1", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2022-02-11T20:49:14Z
CVE: CVE-2022-23633
Impact Under certain circumstances response bodies will not be closed, for example a bug in a webserver or a bug in a Rack middleware. In the event a response is not notified of a close, ActionDispatch::Executor will not know to reset thread local state for the next request. This can lead to data being leaked to subsequent requests, especially when interacting with ActiveSupport::CurrentAttributes.
Upgrading to the FIXED versions of Rails will ensure mitigation of this issue even in the context of a buggy webserver or middleware implementation.
Patches This has been fixed in Rails 7.0.2.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2.
Workarounds Upgrading is highly recommended, but to work around this problem the following middleware can be used:
class GuardedExecutor < ActionDispatch::Executor
def call(env)
ensure_completed!
super
end
private
def ensure_completed!
@executor.new.complete! if @executor.active?
end
end
# Ensure the guard is inserted before ActionDispatch::Executor
Rails.application.configure do
config.middleware.swap ActionDispatch::Executor, GuardedExecutor, executor
end
Affected versions: ["7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2024-10-15T23:35:33Z
CVE: CVE-2024-41128
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!
Affected versions: ["7.2.1", "7.2.0", "7.1.4", "7.1.3.4", "7.1.3.3", "7.1.3.2", "7.1.3.1", "7.1.3", "7.1.2", "7.1.1", "7.1.0", "7.0.8.4", "7.0.8.3", "7.0.8.2", "7.0.8.1", "7.0.8", "7.0.7.2", "7.0.7.1", "7.0.7", "7.0.6", "7.0.5.1", "7.0.5", "7.0.4.3", "7.0.4.2", "7.0.4.1", "7.0.4", "7.0.3.1", "7.0.3", "7.0.2.4", "7.0.2.3", "7.0.2.2", "7.0.2.1", "7.0.2", "7.0.1", "7.0.0", "6.1.7.8", "6.1.7.7", "6.1.7.6", "6.1.7.5", "6.1.7.4", "6.1.7.3", "6.1.7.2", "6.1.7.1", "6.1.7", "6.1.6.1", "6.1.6", "6.1.5.1", "6.1.5", "6.1.4.7", "6.1.4.6", "6.1.4.5", "6.1.4.4", "6.1.4.3", "6.1.4.2", "6.1.4.1", "6.1.4", "6.1.3.2", "6.1.3.1", "6.1.3", "6.1.2.1", "6.1.2", "6.1.1", "6.1.0", "6.1.0.rc2", "6.1.0.rc1", "6.0.6.1", "6.0.6", "6.0.5.1", "6.0.5", "6.0.4.8", "6.0.4.7", "6.0.4.6", "6.0.4.5", "6.0.4.4", "6.0.4.3", "6.0.4.2", "6.0.4.1", "6.0.4", "6.0.3.7", "6.0.3.6", "6.0.3.5", "6.0.3.4", "6.0.3.3", "6.0.3.2", "6.0.3.1", "6.0.3", "6.0.3.rc1", "6.0.2.2", "6.0.2.1", "6.0.2", "6.0.2.rc2", "6.0.2.rc1", "6.0.1", "6.0.1.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.rc1", "6.0.0.beta3", "6.0.0.beta2", "6.0.0.beta1", "5.2.8.1", "5.2.8", "5.2.7.1", "5.2.7", "5.2.6.3", "5.2.6.2", "5.2.6.1", "5.2.6", "5.2.5", "5.2.4.6", "5.2.4.5", "5.2.4.4", "5.2.4.3", "5.2.4.2", "5.2.4.1", "5.2.4", "5.2.4.rc1", "5.2.3", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.2.rc1", "5.2.1.1", "5.2.1", "5.2.1.rc1", "5.2.0", "5.2.0.rc2", "5.2.0.rc1", "5.2.0.beta2", "5.2.0.beta1", "5.1.7", "5.1.7.rc1", "5.1.6.2", "5.1.6.1", "5.1.6", "5.1.5", "5.1.5.rc1", "5.1.4", "5.1.4.rc1", "5.1.3", "5.1.3.rc3", "5.1.3.rc2", "5.1.3.rc1", "5.1.2", "5.1.2.rc1", "5.1.1", "5.1.0", "5.1.0.rc2", "5.1.0.rc1", "5.1.0.beta1", "5.0.7.2", "5.0.7.1", "5.0.7", "5.0.6", "5.0.6.rc1", "5.0.5", "5.0.5.rc2", "5.0.5.rc1", "5.0.4", "5.0.4.rc1", "5.0.3", "5.0.2", "5.0.2.rc1", "5.0.1", "5.0.1.rc2", "5.0.1.rc1", "5.0.0.1", "5.0.0", "5.0.0.rc2", "5.0.0.rc1", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "5.0.0.beta1.1", "5.0.0.beta1", "5.0.0.racecar1", "4.2.11.3", "4.2.11.2", "4.2.11.1", "4.2.11", "4.2.10", "4.2.10.rc1", "4.2.9", "4.2.9.rc2", "4.2.9.rc1", "4.2.8", "4.2.8.rc1", "4.2.7.1", "4.2.7", "4.2.7.rc1", "4.2.6", "4.2.6.rc1", "4.2.5.2", "4.2.5.1", "4.2.5", "4.2.5.rc2", "4.2.5.rc1", "4.2.4", "4.2.4.rc1", "4.2.3", "4.2.3.rc1", "4.2.2", "4.2.1", "4.2.1.rc4", "4.2.1.rc3", "4.2.1.rc2", "4.2.1.rc1", "4.2.0", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.rc1", "4.2.0.beta4", "4.2.0.beta3", "4.2.0.beta2", "4.2.0.beta1", "4.1.16", "4.1.16.rc1", "4.1.15", "4.1.15.rc1", "4.1.14.2", "4.1.14.1", "4.1.14", "4.1.14.rc2", "4.1.14.rc1", "4.1.13", "4.1.13.rc1", "4.1.12", "4.1.12.rc1", "4.1.11", "4.1.10", "4.1.10.rc4", "4.1.10.rc3", "4.1.10.rc2", "4.1.10.rc1", "4.1.9", "4.1.9.rc1", "4.1.8", "4.1.7.1", "4.1.7", "4.1.6", "4.1.6.rc2", "4.1.6.rc1", "4.1.5", "4.1.4", "4.1.3", "4.1.2", "4.1.2.rc3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.1.0", "4.1.0.rc2", "4.1.0.rc1", "4.1.0.beta2", "4.1.0.beta1", "4.0.13", "4.0.13.rc1", "4.0.12", "4.0.11.1", "4.0.11", "4.0.10", "4.0.10.rc2", "4.0.10.rc1", "4.0.9", "4.0.8", "4.0.7", "4.0.6", "4.0.6.rc3", "4.0.6.rc2", "4.0.6.rc1", "4.0.5", "4.0.4", "4.0.4.rc1", "4.0.3", "4.0.2", "4.0.1", "4.0.1.rc4", "4.0.1.rc3", "4.0.1.rc2", "4.0.1.rc1", "4.0.0", "4.0.0.rc2", "4.0.0.rc1", "4.0.0.beta1", "3.2.22.5", "3.2.22.4", "3.2.22.3", "3.2.22.2", "3.2.22.1", "3.2.22", "3.2.21", "3.2.20", "3.2.19", "3.2.18", "3.2.17", "3.2.16", "3.2.15", "3.2.15.rc3", "3.2.15.rc2", "3.2.15.rc1", "3.2.14", "3.2.14.rc2", "3.2.14.rc1", "3.2.13", "3.2.13.rc2", "3.2.13.rc1", "3.2.12", "3.2.11", "3.2.10", "3.2.9", "3.2.9.rc3", "3.2.9.rc2", "3.2.9.rc1", "3.2.8", "3.2.8.rc2", "3.2.8.rc1", "3.2.7", "3.2.7.rc1", "3.2.6", "3.2.5", "3.2.4", "3.2.4.rc1", "3.2.3", "3.2.3.rc2", "3.2.3.rc1", "3.2.2", "3.2.2.rc1", "3.2.1", "3.2.0", "3.2.0.rc2", "3.2.0.rc1", "3.1.12", "3.1.11", "3.1.10", "3.1.9", "3.1.8", "3.1.7", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.4", "3.1.4.rc1", "3.1.3", "3.1.2", "3.1.2.rc2", "3.1.2.rc1", "3.1.1", "3.1.1.rc3", "3.1.1.rc2", "3.1.1.rc1", "3.1.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2021-08-19
Framework: rails
CVE: 2021-22942
CVSS V3: 7.6
There is a possible open redirect vulnerability in the Host Authorization middleware in Action Pack. This vulnerability has been assigned the CVE identifier CVE-2021-22942.
Versions Affected: >= 6.0.0. Not affected: < 6.0.0 Fixed Versions: 6.1.4.1, 6.0.4.1
Impact Specially crafted “X-Forwarded-Host” headers in combination with certain “allowed host” formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:
config.hosts << '.EXAMPLE.com'
When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.
This vulnerability is similar to CVE-2021-22881, but CVE-2021-22881 did not take in to account domain name case sensitivity.
Releases The fixed releases are available at the normal locations.
Workarounds In the case a patch can’t be applied, the following monkey patch can be used in an initializer:
module ActionDispatch
class HostAuthorization
HOSTNAME = /[a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9.:]+\]/i
VALID_ORIGIN_HOST = /\A(#{HOSTNAME})(?::\d+)?\z/
VALID_FORWARDED_HOST = /(?:\A|,[ ]?)(#{HOSTNAME})(?::\d+)?\z/
private
def authorized?(request)
origin_host =
request.get_header("HTTP_HOST")&.slice(VALID_ORIGIN_HOST, 1) || ""
forwarded_host =
request.x_forwarded_host&.slice(VALID_FORWARDED_HOST, 1) || ""
@permissions.allows?(origin_host) &&
(forwarded_host.blank? || @permissions.allows?(forwarded_host))
end
end
end
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.2.1", "6.0.2.rc1", "6.0.3", "6.0.0", "6.0.1", "6.1.0.rc1", "6.0.3.2", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "6.0.3.7", "6.1.3.2", "6.0.4", "6.1.4"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2021-12-14
Framework: rails
CVE: 2021-44528
CVSS V3: 6.1
There is a possible open redirect vulnerability in the Host Authorization middleware in Action Pack.
Specially crafted X-Forwarded-Host headers in combination with certain allowed host formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
Impacted applications will have allowed hosts with a leading dot. For example, configuration files that look like this:
config.hosts << '.EXAMPLE.com'
When an allowed host contains a leading dot, a specially crafted Host header can be used to redirect to a malicious website.
This vulnerability is similar to CVE-2021-22881 and CVE-2021-22942.
Releases The fixed releases are available at the normal locations.
Patches To aid users who aren't able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.
6-0-host-authorzation-open-redirect.patch - Patch for 6.0 series 6-1-host-authorzation-open-redirect.patch - Patch for 6.1 series 7-0-host-authorzation-open-redirect.patch - Patch for 7.0 series Please note that only the 6.1.Z, 6.0.Z, and 5.2.Z series are supported at present. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases.
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.2.1", "6.0.2.rc1", "6.0.3", "6.0.0", "6.0.1", "6.1.0.rc1", "6.0.3.2", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "6.0.3.7", "6.1.3.2", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2022-04-27
Framework: rails
CVE: 2022-22577
CVSS V3: 6.1
There is a possible XSS vulnerability in Rails / Action Pack. This vulnerability has been assigned the CVE identifier CVE-2022-22577.
Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1
Impact CSP headers were only sent along with responses that Rails considered as HTML responses. This left API requests without CSP headers, which could possibly expose users to XSS attacks.
Releases The FIXED releases are available at the normal locations.
Workarounds Set a CSP for your API responses manually.
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "5.2.4.2", "5.2.4", "6.0.2.1", "6.0.2.rc1", "6.0.3", "5.2.4.3", "5.2.3", "6.0.0", "5.2.4.1", "5.2.4.rc1", "5.2.3.rc1", "5.2.0", "5.2.2.rc1", "5.2.1.1", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "6.1.0.rc1", "6.0.3.2", "5.2.2", "5.2.1", "5.2.1.rc1", "5.2.4.4", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.2.2.1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "5.2.4.5", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "5.2.5", "6.0.3.7", "6.1.3.2", "5.2.6", "5.2.4.6", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "5.2.6.2", "6.0.4.6", "6.0.4.5", "5.2.6.1", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "5.2.6.3", "6.0.4.7", "6.1.5", "5.2.7"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2022-02-11
Framework: rails
CVE: 2022-23633
CVSS V3: 7.4
Impact Under certain circumstances response bodies will not be closed, for example a bug in a webserver (https://github.com/puma/puma/pull/2812 ) or a bug in a Rack middleware. In the event a response is not notified of a close, ActionDispatch::Executor will not know to reset thread local state for the next request. This can lead to data being leaked to subsequent requests, especially when interacting with ActiveSupport::CurrentAttributes.
Upgrading to the FIXED versions of Rails will ensure mitigation if this issue even in the context of a buggy webserver or middleware implementation.
Patches This has been fixed in Rails 7.0.2.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2.
Workarounds Upgrading is highly recommended, but to work around this problem the following middleware can be used:
class GuardedExecutor < ActionDispatch::Executor
def call(env)
ensure_completed!
super
end
private
def ensure_completed!
@executor.new.complete! if @executor.active?
end
end
# Ensure the guard is inserted before ActionDispatch::Executor
Rails.application.configure do
config.middleware.swap ActionDispatch::Executor, GuardedExecutor, executor
end
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "5.2.4.2", "5.2.4", "6.0.2.1", "6.0.2.rc1", "6.0.3", "5.2.4.3", "5.2.3", "6.0.0", "5.2.4.1", "5.2.4.rc1", "5.2.3.rc1", "5.2.0", "5.1.3.rc2", "5.0.7.2", "5.0.6.rc1", "5.0.0", "5.1.4", "5.1.3.rc3", "5.0.6", "5.0.5.rc2", "5.0.0.1", "5.2.2.rc1", "5.2.1.1", "5.2.0.rc2", "5.1.7", "5.1.5", "5.1.0.rc1", "5.0.7", "5.0.5", "5.2.0.beta2", "5.1.5.rc1", "5.1.2", "5.0.7.1", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "5.1.7.rc1", "5.1.6.1", "5.1.3.rc1", "5.1.1", "5.1.0", "5.0.3", "6.1.0.rc1", "6.0.3.2", "5.2.2", "5.2.1", "5.2.1.rc1", "5.1.6.2", "5.1.6", "5.1.4.rc1", "5.1.3", "5.1.0.rc2", "5.0.4.rc1", "5.0.2", "5.0.1.rc2", "5.2.4.4", "5.2.0.rc1", "5.1.2.rc1", "5.0.4", "5.0.1", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.2.2.1", "5.2.0.beta1", "5.1.0.beta1", "5.0.5.rc1", "5.0.2.rc1", "5.0.1.rc1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "5.2.4.5", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "5.2.5", "6.0.3.7", "6.1.3.2", "5.2.6", "5.2.4.6", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "6.0.4.5", "5.2.6.1", "6.1.4.5"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2023-01-18
Framework: rails
CVE: 2023-22792
There is a possible regular expression based DoS vulnerability in Action Dispatch. This vulnerability has been assigned the CVE identifier CVE-2023-22792.
Versions Affected: >= 3.0.0 Not affected: < 3.0.0 Fixed Versions: 6.1.7.1, 7.0.4.1
Impact Specially crafted cookies, in combination with a specially crafted XFORWARDED HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.
Workarounds We recommend that all users upgrade to one of the FIXED versions. In the meantime, users can mitigate this vulnerability by using a load balancer or other device to filter out malicious XFORWARDED HOST headers before they reach the application.
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "6.0.2.1", "6.0.2.rc1", "6.0.3", "6.0.0", "5.1.3.rc2", "5.0.7.2", "5.0.6.rc1", "5.0.0", "4.2.8", "4.2.8.rc1", "4.2.5.rc1", "4.2.4", "4.2.1.rc3", "4.2.1.rc1", "4.2.0.beta4", "4.2.0.beta2", "4.1.16", "4.1.13.rc1", "4.1.12", "4.1.10.rc2", "4.1.10.rc1", "4.1.5", "4.1.0.rc1", "4.1.0.beta1", "4.0.10.rc1", "4.0.6.rc3", "4.0.3", "3.2.20", "3.2.13.rc1", "3.2.9", "3.2.9.rc2", "3.2.7", "3.1.10", "3.1.2.rc1", "5.1.4", "5.1.3.rc3", "5.0.6", "5.0.5.rc2", "5.0.0.1", "5.0.0.rc2", "5.0.0.rc1", "4.2.11.2", "4.2.5.2", "4.2.3", "4.2.0.rc1", "4.1.15", "4.1.14.rc1", "4.1.6.rc2", "4.1.2", "4.0.8", "4.0.7", "4.0.1.rc2", "4.0.0.rc2", "3.2.22.5", "3.2.22.1", "3.2.21", "3.2.19", "3.2.15", "3.2.9.rc3", "3.2.8", "3.2.0", "3.2.0.rc1", "3.1.4", "5.1.7", "5.1.5", "5.1.0.rc1", "5.0.7", "5.0.5", "4.2.11.3", "4.2.10", "4.2.9.rc2", "4.2.7", "4.2.6", "4.2.6.rc1", "4.2.5.1", "4.2.0", "4.1.13", "4.1.10", "4.1.8", "4.1.6", "4.1.0.rc2", "4.1.0.beta2", "4.0.13", "4.0.12", "4.0.2", "4.0.0.beta1", "3.2.18", "3.2.15.rc3", "3.2.15.rc2", "3.2.13", "3.2.5", "3.2.2", "3.2.0.rc2", "3.1.11", "3.1.7", "3.1.4.rc1", "3.1.1.rc3", "5.1.5.rc1", "5.1.2", "5.0.7.1", "5.0.0.beta1.1", "4.2.7.1", "4.2.5.rc2", "4.2.1.rc2", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.beta3", "4.1.14", "4.1.11", "4.1.10.rc4", "4.1.9", "4.1.9.rc1", "4.1.7", "4.0.13.rc1", "4.0.6", "4.0.6.rc2", "4.0.4", "4.0.1.rc1", "4.0.0.rc1", "3.2.13.rc2", "3.2.7.rc1", "3.2.6", "3.1.1.rc1", "3.1.0.rc5", "3.0.10", "3.0.8", "3.0.6.rc2", "3.0.2", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "5.1.7.rc1", "5.1.6.1", "5.1.3.rc1", "5.1.1", "5.1.0", "5.0.3", "4.2.11", "4.2.0.beta1", "3.1.0.rc6", "3.1.0.beta1", "3.0.20", "3.0.15", "3.0.12", "3.0.12.rc1", "3.0.9.rc4", "3.0.9.rc1", "3.0.8.rc2", "3.0.1", "6.1.0.rc1", "6.0.3.2", "5.1.6.2", "5.1.6", "5.1.4.rc1", "5.1.3", "5.1.0.rc2", "5.0.4.rc1", "5.0.2", "5.0.1.rc2", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "4.2.9", "4.2.7.rc1", "4.2.1.rc4", "3.1.0.rc3", "3.0.9", "3.0.9.rc5", "3.0.4.rc1", "5.1.2.rc1", "5.0.4", "5.0.1", "4.2.9.rc1", "4.2.5", "4.2.4.rc1", "4.2.3.rc1", "4.2.1", "3.1.0.rc1", "3.0.14", "3.0.5.rc1", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.1.0.beta1", "5.0.5.rc1", "5.0.2.rc1", "5.0.1.rc1", "5.0.0.racecar1", "5.0.0.beta1", "4.2.11.1", "4.2.10.rc1", "4.2.2", "4.1.14.2", "4.1.14.rc2", "4.1.4", "4.0.11.1", "4.0.11", "4.0.10.rc2", "4.0.4.rc1", "3.2.22.4", "3.2.22", "3.2.16", "3.2.14.rc1", "3.2.10", "3.2.9.rc1", "3.2.1", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.2.rc2", "3.1.0.rc8", "3.1.0.rc2", "3.0.3", "3.0.0", "4.1.16.rc1", "4.1.15.rc1", "4.1.12.rc1", "4.1.3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.0.10", "4.0.9", "4.0.1.rc3", "4.0.0", "3.2.14", "3.2.8.rc2", "3.2.3", "3.2.2.rc1", "3.1.12", "3.1.2", "3.1.1.rc2", "3.1.0.rc4", "3.0.19", "3.0.18", "3.0.16", "3.0.13.rc1", "3.0.10.rc1", "3.0.8.rc4", "3.0.8.rc1", "4.1.0", "4.0.6.rc1", "4.0.5", "3.2.22.3", "3.2.15.rc1", "3.2.14.rc2", "3.2.12", "3.2.11", "3.2.4", "3.2.4.rc1", "3.2.3.rc2", "3.1.9", "3.1.8", "3.1.3", "3.1.1", "3.0.17", "3.0.9.rc3", "3.0.7", "3.0.7.rc2", "3.0.6.rc1", "3.0.5", "3.0.4", "4.1.14.1", "4.1.10.rc3", "4.1.7.1", "4.1.6.rc1", "4.1.2.rc3", "4.0.1", "4.0.1.rc4", "3.2.22.2", "3.2.17", "3.2.8.rc1", "3.2.3.rc1", "3.1.0", "3.0.13", "3.0.11", "3.0.7.rc1", "3.0.6", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "6.0.3.7", "6.1.3.2", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "6.0.4.6", "6.0.4.5", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "6.0.4.7", "6.1.5", "6.0.4.8", "6.1.5.1", "7.0.2.4", "6.0.5", "7.0.3", "6.1.6", "6.0.5.1", "6.1.6.1", "7.0.3.1", "6.0.6", "7.0.4", "6.1.7", "6.0.6.1"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2023-01-18
Framework: rails
CVE: 2023-22795
There is a possible regular expression based DoS vulnerability in Action Dispatch related to the If-None-Match header. This vulnerability has been assigned the CVE identifier CVE-2023-22795.
Versions Affected: All Not affected: None Fixed Versions: 6.1.7.1, 7.0.4.1
Impact A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.
Workarounds We recommend that all users upgrade to one of the FIXED versions. In the meantime, users can mitigate this vulnerability by using a load balancer or other device to filter out malicious If-None-Match headers before they reach the application.
Users on Ruby 3.2.0 or greater are not affected by this vulnerability.
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "6.0.2.1", "6.0.2.rc1", "6.0.3", "6.0.0", "5.1.3.rc2", "5.0.7.2", "5.0.6.rc1", "5.0.0", "4.2.8", "4.2.8.rc1", "4.2.5.rc1", "4.2.4", "4.2.1.rc3", "4.2.1.rc1", "4.2.0.beta4", "4.2.0.beta2", "4.1.16", "4.1.13.rc1", "4.1.12", "4.1.10.rc2", "4.1.10.rc1", "4.1.5", "4.1.0.rc1", "4.1.0.beta1", "4.0.10.rc1", "4.0.6.rc3", "4.0.3", "3.2.20", "3.2.13.rc1", "3.2.9", "3.2.9.rc2", "3.2.7", "3.1.10", "3.1.2.rc1", "5.1.4", "5.1.3.rc3", "5.0.6", "5.0.5.rc2", "5.0.0.1", "5.0.0.rc2", "5.0.0.rc1", "4.2.11.2", "4.2.5.2", "4.2.3", "4.2.0.rc1", "4.1.15", "4.1.14.rc1", "4.1.6.rc2", "4.1.2", "4.0.8", "4.0.7", "4.0.1.rc2", "4.0.0.rc2", "3.2.22.5", "3.2.22.1", "3.2.21", "3.2.19", "3.2.15", "3.2.9.rc3", "3.2.8", "3.2.0", "3.2.0.rc1", "3.1.4", "5.1.7", "5.1.5", "5.1.0.rc1", "5.0.7", "5.0.5", "4.2.11.3", "4.2.10", "4.2.9.rc2", "4.2.7", "4.2.6", "4.2.6.rc1", "4.2.5.1", "4.2.0", "4.1.13", "4.1.10", "4.1.8", "4.1.6", "4.1.0.rc2", "4.1.0.beta2", "4.0.13", "4.0.12", "4.0.2", "4.0.0.beta1", "3.2.18", "3.2.15.rc3", "3.2.15.rc2", "3.2.13", "3.2.5", "3.2.2", "3.2.0.rc2", "3.1.11", "3.1.7", "3.1.4.rc1", "3.1.1.rc3", "5.1.5.rc1", "5.1.2", "5.0.7.1", "5.0.0.beta1.1", "4.2.7.1", "4.2.5.rc2", "4.2.1.rc2", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.beta3", "4.1.14", "4.1.11", "4.1.10.rc4", "4.1.9", "4.1.9.rc1", "4.1.7", "4.0.13.rc1", "4.0.6", "4.0.6.rc2", "4.0.4", "4.0.1.rc1", "4.0.0.rc1", "3.2.13.rc2", "3.2.7.rc1", "3.2.6", "3.1.1.rc1", "3.1.0.rc5", "3.0.10", "3.0.8", "3.0.6.rc2", "3.0.2", "3.0.0.rc2", "2.3.18", "2.3.15", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "5.1.7.rc1", "5.1.6.1", "5.1.3.rc1", "5.1.1", "5.1.0", "5.0.3", "4.2.11", "4.2.0.beta1", "3.1.0.rc6", "3.1.0.beta1", "3.0.20", "3.0.15", "3.0.12", "3.0.12.rc1", "3.0.9.rc4", "3.0.9.rc1", "3.0.8.rc2", "3.0.1", "3.0.0.beta3", "3.0.0.beta", "2.3.17", "2.3.12", "6.1.0.rc1", "6.0.3.2", "5.1.6.2", "5.1.6", "5.1.4.rc1", "5.1.3", "5.1.0.rc2", "5.0.4.rc1", "5.0.2", "5.0.1.rc2", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "4.2.9", "4.2.7.rc1", "4.2.1.rc4", "3.1.0.rc3", "3.0.9", "3.0.9.rc5", "3.0.4.rc1", "3.0.0.rc", "3.0.0.beta2", "2.3.16", "2.3.7", "2.3.6", "5.1.2.rc1", "5.0.4", "5.0.1", "4.2.9.rc1", "4.2.5", "4.2.4.rc1", "4.2.3.rc1", "4.2.1", "3.1.0.rc1", "3.0.14", "3.0.5.rc1", "3.0.0.beta4", "2.3.11", "2.3.4", "2.0.2", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.1.0.beta1", "5.0.5.rc1", "5.0.2.rc1", "5.0.1.rc1", "5.0.0.racecar1", "5.0.0.beta1", "4.2.11.1", "4.2.10.rc1", "4.2.2", "4.1.14.2", "4.1.14.rc2", "4.1.4", "4.0.11.1", "4.0.11", "4.0.10.rc2", "4.0.4.rc1", "3.2.22.4", "3.2.22", "3.2.16", "3.2.14.rc1", "3.2.10", "3.2.9.rc1", "3.2.1", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.2.rc2", "3.1.0.rc8", "3.1.0.rc2", "3.0.3", "3.0.0", "4.1.16.rc1", "4.1.15.rc1", "4.1.12.rc1", "4.1.3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.0.10", "4.0.9", "4.0.1.rc3", "4.0.0", "3.2.14", "3.2.8.rc2", "3.2.3", "3.2.2.rc1", "3.1.12", "3.1.2", "3.1.1.rc2", "3.1.0.rc4", "3.0.19", "3.0.18", "3.0.16", "3.0.13.rc1", "3.0.10.rc1", "3.0.8.rc4", "3.0.8.rc1", "2.3.14", "2.3.10", "4.1.0", "4.0.6.rc1", "4.0.5", "3.2.22.3", "3.2.15.rc1", "3.2.14.rc2", "3.2.12", "3.2.11", "3.2.4", "3.2.4.rc1", "3.2.3.rc2", "3.1.9", "3.1.8", "3.1.3", "3.1.1", "3.0.17", "3.0.9.rc3", "3.0.7", "3.0.7.rc2", "3.0.6.rc1", "3.0.5", "3.0.4", "4.1.14.1", "4.1.10.rc3", "4.1.7.1", "4.1.6.rc1", "4.1.2.rc3", "4.0.1", "4.0.1.rc4", "3.2.22.2", "3.2.17", "3.2.8.rc1", "3.2.3.rc1", "3.1.0", "3.0.13", "3.0.11", "3.0.7.rc1", "3.0.6", "2.3.9", "2.3.8", "2.2.3", "2.1.0", "1.12.2", "1.12.0", "1.8.1", "1.6.0", "1.13.2", "1.13.1", "1.10.1", "1.5.1", "1.4.0", "1.3.0", "1.0.1", "1.0.0", "2.3.5", "2.3.2", "2.0.5", "1.10.2", "2.0.0", "1.13.3", "1.12.1", "1.3.1", "1.1.0", "2.2.2", "2.1.1", "2.0.4", "1.11.0", "1.9.0", "1.13.4", "1.12.5", "1.12.3", "1.9.1", "1.8.0", "1.7.0", "0.9.0", "2.3.9.pre", "2.3.8.pre1", "2.3.3", "2.1.2", "2.0.1", "1.13.5", "1.13.0", "0.9.5", "1.13.6", "1.12.4", "1.11.2", "1.11.1", "1.5.0", "1.2.0", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "6.0.3.7", "6.1.3.2", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "6.0.4.6", "6.0.4.5", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "6.0.4.7", "6.1.5", "6.0.4.8", "6.1.5.1", "7.0.2.4", "6.0.5", "7.0.3", "6.1.6", "6.0.5.1", "6.1.6.1", "7.0.3.1", "6.0.6", "7.0.4", "6.1.7", "6.0.6.1"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2023-06-26
Framework: rails
CVE: 2023-28362
CVSS V3: 4.0
The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header. This vulnerability has been assigned the CVE identifier CVE-2023-28362.
Versions Affected: All. Not affected: None Fixed Versions: 7.0.5.1, 6.1.7.4
Impact This introduces the potential for a Cross-site-scripting (XSS) payload to be delivered on the now static redirection page. Note that this both requires user interaction and for a Rails app to be configured to allow redirects to external hosts (defaults to false in Rails >= 7.0.x).
Releases The FIXED releases are available at the normal locations.
Workarounds Avoid providing user supplied URLs with arbitrary schemes to the redirect_to method.
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "5.2.4.2", "5.2.4", "6.0.2.1", "6.0.2.rc1", "6.0.3", "5.2.4.3", "5.2.3", "6.0.0", "5.2.4.1", "5.2.4.rc1", "5.2.3.rc1", "5.2.0", "5.1.3.rc2", "5.0.7.2", "5.0.6.rc1", "5.0.0", "4.2.8", "4.2.8.rc1", "4.2.5.rc1", "4.2.4", "4.2.1.rc3", "4.2.1.rc1", "4.2.0.beta4", "4.2.0.beta2", "4.1.16", "4.1.13.rc1", "4.1.12", "4.1.10.rc2", "4.1.10.rc1", "4.1.5", "4.1.0.rc1", "4.1.0.beta1", "4.0.10.rc1", "4.0.6.rc3", "4.0.3", "3.2.20", "3.2.13.rc1", "3.2.9", "3.2.9.rc2", "3.2.7", "3.1.10", "3.1.2.rc1", "5.1.4", "5.1.3.rc3", "5.0.6", "5.0.5.rc2", "5.0.0.1", "5.0.0.rc2", "5.0.0.rc1", "4.2.11.2", "4.2.5.2", "4.2.3", "4.2.0.rc1", "4.1.15", "4.1.14.rc1", "4.1.6.rc2", "4.1.2", "4.0.8", "4.0.7", "4.0.1.rc2", "4.0.0.rc2", "3.2.22.5", "3.2.22.1", "3.2.21", "3.2.19", "3.2.15", "3.2.9.rc3", "3.2.8", "3.2.0", "3.2.0.rc1", "3.1.4", "5.2.2.rc1", "5.2.1.1", "5.2.0.rc2", "5.1.7", "5.1.5", "5.1.0.rc1", "5.0.7", "5.0.5", "4.2.11.3", "4.2.10", "4.2.9.rc2", "4.2.7", "4.2.6", "4.2.6.rc1", "4.2.5.1", "4.2.0", "4.1.13", "4.1.10", "4.1.8", "4.1.6", "4.1.0.rc2", "4.1.0.beta2", "4.0.13", "4.0.12", "4.0.2", "4.0.0.beta1", "3.2.18", "3.2.15.rc3", "3.2.15.rc2", "3.2.13", "3.2.5", "3.2.2", "3.2.0.rc2", "3.1.11", "3.1.7", "3.1.4.rc1", "3.1.1.rc3", "5.2.0.beta2", "5.1.5.rc1", "5.1.2", "5.0.7.1", "5.0.0.beta1.1", "4.2.7.1", "4.2.5.rc2", "4.2.1.rc2", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.beta3", "4.1.14", "4.1.11", "4.1.10.rc4", "4.1.9", "4.1.9.rc1", "4.1.7", "4.0.13.rc1", "4.0.6", "4.0.6.rc2", "4.0.4", "4.0.1.rc1", "4.0.0.rc1", "3.2.13.rc2", "3.2.7.rc1", "3.2.6", "3.1.1.rc1", "3.1.0.rc5", "3.0.10", "3.0.8", "3.0.6.rc2", "3.0.2", "3.0.0.rc2", "2.3.18", "2.3.15", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "5.1.7.rc1", "5.1.6.1", "5.1.3.rc1", "5.1.1", "5.1.0", "5.0.3", "4.2.11", "4.2.0.beta1", "3.1.0.rc6", "3.1.0.beta1", "3.0.20", "3.0.15", "3.0.12", "3.0.12.rc1", "3.0.9.rc4", "3.0.9.rc1", "3.0.8.rc2", "3.0.1", "3.0.0.beta3", "3.0.0.beta", "2.3.17", "2.3.12", "6.1.0.rc1", "6.0.3.2", "5.2.2", "5.2.1", "5.2.1.rc1", "5.1.6.2", "5.1.6", "5.1.4.rc1", "5.1.3", "5.1.0.rc2", "5.0.4.rc1", "5.0.2", "5.0.1.rc2", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "4.2.9", "4.2.7.rc1", "4.2.1.rc4", "3.1.0.rc3", "3.0.9", "3.0.9.rc5", "3.0.4.rc1", "3.0.0.rc", "3.0.0.beta2", "2.3.16", "2.3.7", "2.3.6", "5.2.4.4", "5.2.0.rc1", "5.1.2.rc1", "5.0.4", "5.0.1", "4.2.9.rc1", "4.2.5", "4.2.4.rc1", "4.2.3.rc1", "4.2.1", "3.1.0.rc1", "3.0.14", "3.0.5.rc1", "3.0.0.beta4", "2.3.11", "2.3.4", "2.0.2", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.2.2.1", "5.2.0.beta1", "5.1.0.beta1", "5.0.5.rc1", "5.0.2.rc1", "5.0.1.rc1", "5.0.0.racecar1", "5.0.0.beta1", "4.2.11.1", "4.2.10.rc1", "4.2.2", "4.1.14.2", "4.1.14.rc2", "4.1.4", "4.0.11.1", "4.0.11", "4.0.10.rc2", "4.0.4.rc1", "3.2.22.4", "3.2.22", "3.2.16", "3.2.14.rc1", "3.2.10", "3.2.9.rc1", "3.2.1", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.2.rc2", "3.1.0.rc8", "3.1.0.rc2", "3.0.3", "3.0.0", "4.1.16.rc1", "4.1.15.rc1", "4.1.12.rc1", "4.1.3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.0.10", "4.0.9", "4.0.1.rc3", "4.0.0", "3.2.14", "3.2.8.rc2", "3.2.3", "3.2.2.rc1", "3.1.12", "3.1.2", "3.1.1.rc2", "3.1.0.rc4", "3.0.19", "3.0.18", "3.0.16", "3.0.13.rc1", "3.0.10.rc1", "3.0.8.rc4", "3.0.8.rc1", "2.3.14", "2.3.10", "4.1.0", "4.0.6.rc1", "4.0.5", "3.2.22.3", "3.2.15.rc1", "3.2.14.rc2", "3.2.12", "3.2.11", "3.2.4", "3.2.4.rc1", "3.2.3.rc2", "3.1.9", "3.1.8", "3.1.3", "3.1.1", "3.0.17", "3.0.9.rc3", "3.0.7", "3.0.7.rc2", "3.0.6.rc1", "3.0.5", "3.0.4", "4.1.14.1", "4.1.10.rc3", "4.1.7.1", "4.1.6.rc1", "4.1.2.rc3", "4.0.1", "4.0.1.rc4", "3.2.22.2", "3.2.17", "3.2.8.rc1", "3.2.3.rc1", "3.1.0", "3.0.13", "3.0.11", "3.0.7.rc1", "3.0.6", "2.3.9", "2.3.8", "2.2.3", "2.1.0", "1.12.2", "1.12.0", "1.8.1", "1.6.0", "1.13.2", "1.13.1", "1.10.1", "1.5.1", "1.4.0", "1.3.0", "1.0.1", "1.0.0", "2.3.5", "2.3.2", "2.0.5", "1.10.2", "2.0.0", "1.13.3", "1.12.1", "1.3.1", "1.1.0", "2.2.2", "2.1.1", "2.0.4", "1.11.0", "1.9.0", "1.13.4", "1.12.5", "1.12.3", "1.9.1", "1.8.0", "1.7.0", "0.9.0", "2.3.9.pre", "2.3.8.pre1", "2.3.3", "2.1.2", "2.0.1", "1.13.5", "1.13.0", "0.9.5", "1.13.6", "1.12.4", "1.11.2", "1.11.1", "1.5.0", "1.2.0", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "5.2.4.5", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "5.2.5", "6.0.3.7", "6.1.3.2", "5.2.6", "5.2.4.6", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "5.2.6.2", "6.0.4.6", "6.0.4.5", "5.2.6.1", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "5.2.6.3", "6.0.4.7", "6.1.5", "5.2.7", "6.0.4.8", "6.1.5.1", "5.2.7.1", "7.0.2.4", "6.0.5", "7.0.3", "6.1.6", "5.2.8", "6.0.5.1", "6.1.6.1", "5.2.8.1", "7.0.3.1", "6.0.6", "7.0.4", "6.1.7", "6.0.6.1", "7.0.4.1", "7.0.4.2", "7.0.4.3", "7.0.5"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2024-10-15
Framework: rails
CVE: 2024-41128
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!
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "5.2.4.2", "5.2.4", "6.0.2.1", "6.0.2.rc1", "6.0.3", "5.2.4.3", "5.2.3", "6.0.0", "5.2.4.1", "5.2.4.rc1", "5.2.3.rc1", "5.2.0", "5.1.3.rc2", "5.0.7.2", "5.0.6.rc1", "5.0.0", "4.2.8", "4.2.8.rc1", "4.2.5.rc1", "4.2.4", "4.2.1.rc3", "4.2.1.rc1", "4.2.0.beta4", "4.2.0.beta2", "4.1.16", "4.1.13.rc1", "4.1.12", "4.1.10.rc2", "4.1.10.rc1", "4.1.5", "4.1.0.rc1", "4.1.0.beta1", "4.0.10.rc1", "4.0.6.rc3", "4.0.3", "3.2.20", "3.2.13.rc1", "3.2.9", "3.2.9.rc2", "3.2.7", "3.1.10", "3.1.2.rc1", "5.1.4", "5.1.3.rc3", "5.0.6", "5.0.5.rc2", "5.0.0.1", "5.0.0.rc2", "5.0.0.rc1", "4.2.11.2", "4.2.5.2", "4.2.3", "4.2.0.rc1", "4.1.15", "4.1.14.rc1", "4.1.6.rc2", "4.1.2", "4.0.8", "4.0.7", "4.0.1.rc2", "4.0.0.rc2", "3.2.22.5", "3.2.22.1", "3.2.21", "3.2.19", "3.2.15", "3.2.9.rc3", "3.2.8", "3.2.0", "3.2.0.rc1", "3.1.4", "5.2.2.rc1", "5.2.1.1", "5.2.0.rc2", "5.1.7", "5.1.5", "5.1.0.rc1", "5.0.7", "5.0.5", "4.2.11.3", "4.2.10", "4.2.9.rc2", "4.2.7", "4.2.6", "4.2.6.rc1", "4.2.5.1", "4.2.0", "4.1.13", "4.1.10", "4.1.8", "4.1.6", "4.1.0.rc2", "4.1.0.beta2", "4.0.13", "4.0.12", "4.0.2", "4.0.0.beta1", "3.2.18", "3.2.15.rc3", "3.2.15.rc2", "3.2.13", "3.2.5", "3.2.2", "3.2.0.rc2", "3.1.11", "3.1.7", "3.1.4.rc1", "3.1.1.rc3", "5.2.0.beta2", "5.1.5.rc1", "5.1.2", "5.0.7.1", "5.0.0.beta1.1", "4.2.7.1", "4.2.5.rc2", "4.2.1.rc2", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.beta3", "4.1.14", "4.1.11", "4.1.10.rc4", "4.1.9", "4.1.9.rc1", "4.1.7", "4.0.13.rc1", "4.0.6", "4.0.6.rc2", "4.0.4", "4.0.1.rc1", "4.0.0.rc1", "3.2.13.rc2", "3.2.7.rc1", "3.2.6", "3.1.1.rc1", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "5.1.7.rc1", "5.1.6.1", "5.1.3.rc1", "5.1.1", "5.1.0", "5.0.3", "4.2.11", "4.2.0.beta1", "6.1.0.rc1", "6.0.3.2", "5.2.2", "5.2.1", "5.2.1.rc1", "5.1.6.2", "5.1.6", "5.1.4.rc1", "5.1.3", "5.1.0.rc2", "5.0.4.rc1", "5.0.2", "5.0.1.rc2", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "4.2.9", "4.2.7.rc1", "4.2.1.rc4", "5.2.4.4", "5.2.0.rc1", "5.1.2.rc1", "5.0.4", "5.0.1", "4.2.9.rc1", "4.2.5", "4.2.4.rc1", "4.2.3.rc1", "4.2.1", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.2.2.1", "5.2.0.beta1", "5.1.0.beta1", "5.0.5.rc1", "5.0.2.rc1", "5.0.1.rc1", "5.0.0.racecar1", "5.0.0.beta1", "4.2.11.1", "4.2.10.rc1", "4.2.2", "4.1.14.2", "4.1.14.rc2", "4.1.4", "4.0.11.1", "4.0.11", "4.0.10.rc2", "4.0.4.rc1", "3.2.22.4", "3.2.22", "3.2.16", "3.2.14.rc1", "3.2.10", "3.2.9.rc1", "3.2.1", "3.1.6", "3.1.5", "3.1.5.rc1", "3.1.2.rc2", "4.1.16.rc1", "4.1.15.rc1", "4.1.12.rc1", "4.1.3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.0.10", "4.0.9", "4.0.1.rc3", "4.0.0", "3.2.14", "3.2.8.rc2", "3.2.3", "3.2.2.rc1", "3.1.12", "3.1.2", "3.1.1.rc2", "4.1.0", "4.0.6.rc1", "4.0.5", "3.2.22.3", "3.2.15.rc1", "3.2.14.rc2", "3.2.12", "3.2.11", "3.2.4", "3.2.4.rc1", "3.2.3.rc2", "3.1.9", "3.1.8", "3.1.3", "3.1.1", "4.1.14.1", "4.1.10.rc3", "4.1.7.1", "4.1.6.rc1", "4.1.2.rc3", "4.0.1", "4.0.1.rc4", "3.2.22.2", "3.2.17", "3.2.8.rc1", "3.2.3.rc1", "3.1.0", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "5.2.4.5", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "5.2.5", "6.0.3.7", "6.1.3.2", "5.2.6", "5.2.4.6", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "5.2.6.2", "6.0.4.6", "6.0.4.5", "5.2.6.1", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "5.2.6.3", "6.0.4.7", "6.1.5", "5.2.7", "6.0.4.8", "6.1.5.1", "5.2.7.1", "7.0.2.4", "6.0.5", "7.0.3", "6.1.6", "5.2.8", "6.0.5.1", "6.1.6.1", "5.2.8.1", "7.0.3.1", "6.0.6", "7.0.4", "6.1.7", "6.0.6.1", "7.0.4.1", "7.0.4.2", "7.0.4.3", "7.0.5", "7.0.5.1", "7.0.6", "7.0.7", "7.0.7.2", "7.0.7.1", "7.0.8", "7.1.0.beta1", "7.1.0.rc1", "7.1.0.rc2", "7.1.0", "7.1.1", "7.1.2", "7.1.3", "7.1.3.1", "7.1.3.2", "7.0.8.1", "7.0.8.2", "7.1.3.3", "7.0.8.3", "7.2.0.beta1", "7.1.3.4", "7.0.8.4", "7.2.0.beta2", "7.2.0.beta3", "7.2.0.rc1", "7.2.0", "7.2.1", "7.1.4"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2024-10-15
Framework: rails
CVE: 2024-47887
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
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "5.2.4.2", "5.2.4", "6.0.2.1", "6.0.2.rc1", "6.0.3", "5.2.4.3", "5.2.3", "6.0.0", "5.2.4.1", "5.2.4.rc1", "5.2.3.rc1", "5.2.0", "5.1.3.rc2", "5.0.7.2", "5.0.6.rc1", "5.0.0", "4.2.8", "4.2.8.rc1", "4.2.5.rc1", "4.2.4", "4.2.1.rc3", "4.2.1.rc1", "4.2.0.beta4", "4.2.0.beta2", "4.1.16", "4.1.13.rc1", "4.1.12", "4.1.10.rc2", "4.1.10.rc1", "4.1.5", "4.1.0.rc1", "4.1.0.beta1", "4.0.10.rc1", "4.0.6.rc3", "4.0.3", "5.1.4", "5.1.3.rc3", "5.0.6", "5.0.5.rc2", "5.0.0.1", "5.0.0.rc2", "5.0.0.rc1", "4.2.11.2", "4.2.5.2", "4.2.3", "4.2.0.rc1", "4.1.15", "4.1.14.rc1", "4.1.6.rc2", "4.1.2", "4.0.8", "4.0.7", "4.0.1.rc2", "5.2.2.rc1", "5.2.1.1", "5.2.0.rc2", "5.1.7", "5.1.5", "5.1.0.rc1", "5.0.7", "5.0.5", "4.2.11.3", "4.2.10", "4.2.9.rc2", "4.2.7", "4.2.6", "4.2.6.rc1", "4.2.5.1", "4.2.0", "4.1.13", "4.1.10", "4.1.8", "4.1.6", "4.1.0.rc2", "4.1.0.beta2", "4.0.13", "4.0.12", "4.0.2", "5.2.0.beta2", "5.1.5.rc1", "5.1.2", "5.0.7.1", "5.0.0.beta1.1", "4.2.7.1", "4.2.5.rc2", "4.2.1.rc2", "4.2.0.rc3", "4.2.0.rc2", "4.2.0.beta3", "4.1.14", "4.1.11", "4.1.10.rc4", "4.1.9", "4.1.9.rc1", "4.1.7", "4.0.13.rc1", "4.0.6", "4.0.6.rc2", "4.0.4", "4.0.1.rc1", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "5.1.7.rc1", "5.1.6.1", "5.1.3.rc1", "5.1.1", "5.1.0", "5.0.3", "4.2.11", "4.2.0.beta1", "6.1.0.rc1", "6.0.3.2", "5.2.2", "5.2.1", "5.2.1.rc1", "5.1.6.2", "5.1.6", "5.1.4.rc1", "5.1.3", "5.1.0.rc2", "5.0.4.rc1", "5.0.2", "5.0.1.rc2", "5.0.0.beta4", "5.0.0.beta3", "5.0.0.beta2", "4.2.9", "4.2.7.rc1", "4.2.1.rc4", "5.2.4.4", "5.2.0.rc1", "5.1.2.rc1", "5.0.4", "5.0.1", "4.2.9.rc1", "4.2.5", "4.2.4.rc1", "4.2.3.rc1", "4.2.1", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.2.2.1", "5.2.0.beta1", "5.1.0.beta1", "5.0.5.rc1", "5.0.2.rc1", "5.0.1.rc1", "5.0.0.racecar1", "5.0.0.beta1", "4.2.11.1", "4.2.10.rc1", "4.2.2", "4.1.14.2", "4.1.14.rc2", "4.1.4", "4.0.11.1", "4.0.11", "4.0.10.rc2", "4.0.4.rc1", "4.1.16.rc1", "4.1.15.rc1", "4.1.12.rc1", "4.1.3", "4.1.2.rc2", "4.1.2.rc1", "4.1.1", "4.0.10", "4.0.9", "4.0.1.rc3", "4.0.0", "4.1.0", "4.0.6.rc1", "4.0.5", "4.1.14.1", "4.1.10.rc3", "4.1.7.1", "4.1.6.rc1", "4.1.2.rc3", "4.0.1", "4.0.1.rc4", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "5.2.4.5", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "5.2.5", "6.0.3.7", "6.1.3.2", "5.2.6", "5.2.4.6", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "5.2.6.2", "6.0.4.6", "6.0.4.5", "5.2.6.1", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "5.2.6.3", "6.0.4.7", "6.1.5", "5.2.7", "6.0.4.8", "6.1.5.1", "5.2.7.1", "7.0.2.4", "6.0.5", "7.0.3", "6.1.6", "5.2.8", "6.0.5.1", "6.1.6.1", "5.2.8.1", "7.0.3.1", "6.0.6", "7.0.4", "6.1.7", "6.0.6.1", "7.0.4.1", "7.0.4.2", "7.0.4.3", "7.0.5", "7.0.5.1", "7.0.6", "7.0.7", "7.0.7.2", "7.0.7.1", "7.0.8", "7.1.0.beta1", "7.1.0.rc1", "7.1.0.rc2", "7.1.0", "7.1.1", "7.1.2", "7.1.3", "7.1.3.1", "7.1.3.2", "7.0.8.1", "7.0.8.2", "7.1.3.3", "7.0.8.3", "7.2.0.beta1", "7.1.3.4", "7.0.8.4", "7.2.0.beta2", "7.2.0.beta3", "7.2.0.rc1", "7.2.0", "7.2.1", "7.1.4"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
Published date: 2024-12-10
Framework: rails
CVE: 2024-54133
There is a possible Cross Site Scripting (XSS) vulnerability in the content_security_policy helper in Action Pack.
Impact Applications which set Content-Security-Policy (CSP) headers dynamically from untrusted user input may be vulnerable to carefully crafted inputs being able to inject new directives into the CSP. This could lead to a bypass of the CSP and its protection against XSS and other attacks.
Releases The fixed releases are available at the normal locations.
Workarounds Applications can avoid setting CSP headers dynamically from untrusted input, or can validate/sanitize that input.
Credits Thanks to ryotak for the report!
Affected versions: ["6.0.3.3", "6.0.2.2", "6.0.2.rc2", "6.0.0.rc2", "6.0.0.beta2", "5.2.4.2", "5.2.4", "6.0.2.1", "6.0.2.rc1", "6.0.3", "5.2.4.3", "5.2.3", "6.0.0", "5.2.4.1", "5.2.4.rc1", "5.2.3.rc1", "5.2.0", "5.2.2.rc1", "5.2.1.1", "6.0.1", "6.0.0.beta3", "6.0.0.beta1", "6.1.0.rc1", "6.0.3.2", "5.2.2", "5.2.1", "5.2.1.rc1", "5.2.4.4", "6.0.3.4", "6.0.3.1", "6.0.3.rc1", "6.0.2", "6.0.1.rc1", "6.0.0.rc1", "5.2.2.1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.1.2.1", "5.2.4.5", "6.0.3.5", "6.1.3", "6.0.3.6", "6.1.3.1", "5.2.5", "6.0.3.7", "6.1.3.2", "5.2.6", "5.2.4.6", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha2", "7.0.0.alpha1", "7.0.0.rc1", "6.0.4.3", "6.1.4.2", "6.0.4.2", "7.0.0.rc3", "7.0.0.rc2", "6.1.4.3", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "5.2.6.2", "6.0.4.6", "6.0.4.5", "5.2.6.1", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.1.4.7", "7.0.2.3", "5.2.6.3", "6.0.4.7", "6.1.5", "5.2.7", "6.0.4.8", "6.1.5.1", "5.2.7.1", "7.0.2.4", "6.0.5", "7.0.3", "6.1.6", "5.2.8", "6.0.5.1", "6.1.6.1", "5.2.8.1", "7.0.3.1", "6.0.6", "7.0.4", "6.1.7", "6.0.6.1", "7.0.4.1", "6.1.7.1", "7.0.4.2", "6.1.7.2", "7.0.4.3", "6.1.7.3", "7.0.5", "7.0.5.1", "6.1.7.4", "7.0.6", "7.0.7", "6.1.7.6", "7.0.7.2", "7.0.7.1", "6.1.7.5", "7.0.8", "7.1.0.beta1", "7.1.0.rc1", "7.1.0.rc2", "7.1.0", "7.1.1", "7.1.2", "7.1.3", "7.1.3.1", "6.1.7.7", "7.1.3.2", "7.0.8.1", "7.0.8.2", "7.1.3.3", "7.0.8.3", "7.2.0.beta1", "7.1.3.4", "7.0.8.4", "7.2.0.beta2", "6.1.7.8", "7.2.0.beta3", "7.2.0.rc1", "7.2.0", "7.2.1", "7.1.4", "8.0.0.beta1", "7.2.1.1", "7.0.8.5", "7.1.4.1", "6.1.7.9", "8.0.0.rc1", "7.0.8.6", "7.1.4.2", "6.1.7.10", "7.2.1.2", "8.0.0.rc2", "7.1.5", "7.2.2", "8.0.0"]
Secure versions: [7.0.10, 7.0.8.7, 7.1.5.1, 7.1.5.2, 7.1.6, 7.2.2.1, 7.2.2.2, 7.2.3, 8.0.0.1, 8.0.1, 8.0.2, 8.0.2.1, 8.0.3, 8.0.4, 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1]
Recommendation: Update to version 8.1.1.
509 Other Versions