p PatchFirst

PatchFirst · Latest vulnerabilities

rails vulnerabilities · Page 2

Vulnerabilities published for rails in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 115

  1. CVE-2024-47887

    Medium · CVSS 6.6EPSS 1.04%Fix available

    Action Controller has possible ReDoS vulnerability in HTTP Token authentication

    Action Pack is a framework for handling and responding to web requests. Starting in version 4.0.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in Action Controller's HTTP Token authentication. 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 to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, or 7.2.1.1 or apply the relevant patch immediately. One may c

    • Update to 2:7.2.2.1+dfsg-1
    Published Updated
  2. CVE-2024-41128

    Medium · CVSS 6.6EPSS 1.09%Fix available

    Action Dispatch has possible ReDoS vulnerability in query parameter filtering

    Action Pack is a framework for handling and responding to web requests. Starting in version 3.1.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the query parameter filtering routines of Action Dispatch. 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 to version 6.1.7.9, 7.0.8.5, 7.1.4.1, or 7.2.1.1 or apply the relevant patch immediately. One may use Ruby 3.2 as a workaround. Ruby 3.2 has mitigations for this problem, so Ra

    • Update to 2:7.2.2.1+dfsg-1
    Published Updated
  3. CVE-2024-28103

    Medium · CVSS 5.4EPSS 0.66%Fix available

    Action Pack is missing security headers on non-HTML responses

    Action Pack is a framework for handling and responding to web requests. Since 6.1.0, the application configurable Permissions-Policy is only served on responses with an HTML related Content-Type. This vulnerability is fixed in 6.1.7.8, 7.0.8.2, and 7.1.3.3.

    • Update to 2:7.2.2.1+dfsg-1
    Published Updated
  4. CVE-2024-26144

    Medium · CVSS 5.3EPSS 1.12%Fix available

    Possible Sensitive Session Information Leak in Active Storage

    Rails is a web-application framework. Starting with version 5.2.0, there is a possible sensitive session information leak in Active Storage. By default, Active Storage sends a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Certain proxies may cache the Set-Cookie, leading to an information leak. The vulnerability is fixed in 7.0.8.1 and 6.1.7.7.

    • Update to 2:7.2.2.1+dfsg-1
    Published Updated
  5. CVE-2023-22796

    High · CVSS 7.5EPSS 1.71%Fix available

    CVE-2023-22796

    A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method 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.

    • Update to 2:6.1.7.3+dfsg-1
    Published Updated
  6. CVE-2023-22795

    High · CVSS 7.5EPSS 2.28%Fix available

    CVE-2023-22795

    A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. 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.

    • Update to 2:6.1.7.3+dfsg-1
    Published Updated
  7. CVE-2023-22794

    High · CVSS 8.8EPSS 2.15%Fix available

    CVE-2023-22794

    A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.

    • Update to 2:6.1.7.3+dfsg-1
    Published Updated
  8. CVE-2023-22792

    High · CVSS 7.5EPSS 1.7%Fix available

    CVE-2023-22792

    A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_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.

    • Update to 2:6.1.7.3+dfsg-1
    Published Updated
  9. CVE-2022-44566

    High · CVSS 7.5EPSS 1.26%Fix available

    CVE-2022-44566

    A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.

    • Update to 2:6.1.7.3+dfsg-1
    Published Updated
  10. CVE-2022-32224

    Critical · CVSS 9.8EPSS 2.6%Fix available

    CVE-2022-32224

    A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.

    • Update to 2:6.1.6.1+dfsg-1
    Published Updated
  11. CVE-2022-3704

    Low · CVSS 3.5EPSS 0.9%No fix published

    Ruby on Rails _table.html.erb cross site scripting

    A vulnerability classified as problematic has been found in Ruby on Rails. This affects an unknown part of the file actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. The real existence of this vulnerability is still doubted at the moment. The name of the patch is be177e4566747b73ff63fd5f529fab564e475ed4. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-212319. NOTE: Maintainer declares that there isn’t a valid attack vector. The issue was wrongly reported as a sec

    Published Updated
  12. CVE-2022-23633

    High · CVSS 7.4EPSS 2.22%Fix available

    Exposure of sensitive information in Action Pack

    Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. 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.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.

    • Update to 2:6.1.4.6+dfsg-1
    Published Updated
  13. CVE-2021-44528

    Medium · CVSS 6.1EPSS 4.42%Public exploitFix available

    CVE-2021-44528

    A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a "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.

    • Update to 2:6.1.4.6+dfsg-1
    Published Updated
  14. CVE-2021-22904

    High · CVSS 7.5EPSS 4.87%Fix available

    CVE-2021-22904

    The actionpack ruby gem before 6.1.3.2, 6.0.3.7, 5.2.4.6, 5.2.6 suffers from a possible denial of service vulnerability in the Token Authentication logic in Action Controller due to a too permissive regular expression. Impacted code uses `authenticate_or_request_with_http_token` or `authenticate_with_http_token` for request authentication.

    • Update to 2:6.0.3.7+dfsg-1
    Published Updated
  15. CVE-2021-22902

    High · CVSS 7.5EPSS 2.87%Fix available

    CVE-2021-22902

    The actionpack ruby gem (a framework for handling and responding to web requests in Rails) before 6.0.3.7, 6.1.3.2 suffers from a possible denial of service vulnerability in the Mime type parser of Action Dispatch. Carefully crafted Accept headers can cause the mime type parser in Action Dispatch to do catastrophic backtracking in the regular expression engine.

    • Update to 2:6.0.3.7+dfsg-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →