Releases516
Frequency1 week 4 days
Last Release
Downloads763M
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.16.5 MEDIUM

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 Active Storage's proxy controller does not limit the number of byte ranges in an HTTP Range header. A request with thousands of small ranges causes disproportionate CPU usage compared to a normal request for the same file, possibly resulting in a DoS vulnerability. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.19.1 CRITICAL

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.15.3 MEDIUM

Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. `NumberToDelimitedConverter` uses a lookahead-based regular expression with `gsub!` to insert thousands delimiters. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, the interaction between the repeated lookahead group and `gsub!` can produce quadratic time complexity on long digit strings. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.19.8 CRITICAL

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's `DiskService#path_for` does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. `../`) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.17.5 HIGH

Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Support number helpers accept strings containing scientific notation (e.g. `1e10000`), which `BigDecimal` expands into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted, possibly resulting in a DoS vulnerability. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.17.5 HIGH

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. `bytes=0-`) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.15.3 MEDIUM

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

< 7.2.3.1, >= 8.0.0, < 8.0.4.1, >= 8.1.0, < 8.1.2.16.1 MEDIUM

Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

= 7.2.0, >= 7.1.0, < 7.1.3.46.1 MEDIUM

Action Text brings rich text content and editing to Rails. Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML. This vulnerability is fixed in 7.1.3.4 and 7.2.0.beta2.

= 7.2.0, >= 7.1.0, < 7.1.3.4, >= 6.1.0, < 6.1.7.8, >= 7.0.0, < 7.0.8.45.4 MEDIUM

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.

>= 7.0.0, < 7.1.0, >= 5.2.0, < 6.1.7.75.3 MEDIUM

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.

>= 7.1.0, < 7.1.3.17.5 HIGH

Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.

>= 7.1.0, < 7.1.3.1, >= 7.0.0, < 7.0.8.16.1 MEDIUM

Rails is a web-application framework. There is a possible XSS vulnerability when using the translation helpers in Action Controller. 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. The vulnerability is fixed in 7.1.3.1 and 7.0.8.1.

>= 7.0.0, < 7.0.4.1, = *, < 6.1.7.17.5 HIGH

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.

>= 7.0.0, < 7.0.4.16.1 MEDIUM

An open redirect vulnerability is fixed in Rails 7.0.4.1 with the new protection against open redirects from calling redirect_to with untrusted user input. In prior versions the developer was fully responsible for only providing trusted input. However the check introduced could allow an attacker to bypass with a carefully crafted URL resulting in an open redirect vulnerability.

>= 7.0.0, < 7.0.4.1, >= 6.1.0, < 6.1.7.1, >= 3.0.0, < 6.0.6.17.5 HIGH

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.

< 5.2.06.5 MEDIUM

Clockwork Web before 0.1.2, when Rails before 5.2 is used, allows CSRF.

all versions3.5 LOW

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 security vulnerability by a non-member of the Rails team.

>= 7.0.0, < 7.0.2.2, >= 6.1.0, < 6.1.4.6, >= 6.0.0, < 6.0.4.6, >= 5.0.0, < 5.2.6.28 HIGH4.3 MEDIUM

Puma is a Ruby/Rack web server built for parallelism. Prior to `puma` version `5.6.2`, `puma` may not always call `close` on the response body. Rails, prior to version `7.0.2.2`, depended on the response body being closed in order for its `CurrentAttributes` implementation to work correctly. The combination of these two behaviors (Puma not closing the body + Rails' Executor implementation) causes information leakage. This problem is fixed in Puma versions 5.6.2 and 4.3.11. This problem is fixed in Rails versions 7.02.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. Upgrading to a patched Rails _or_ Puma version fixes the vulnerability.

>= 7.0.0, < 7.0.2.2, >= 6.1.0, < 6.1.4.6, >= 6.0.0, < 6.0.4.6, >= 5.0.0, < 5.2.6.27.4 HIGH4.3 MEDIUM

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.

= 7.0.0, = 6.1.4.2, = 6.0.4.26.1 MEDIUM5.8 MEDIUM

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.

< 3.0.66.1 MEDIUM4.3 MEDIUM

A cross-site scripting vulnerability flaw was found in the auto_link function in Rails before version 3.0.6.

>= 6.1.0, < 6.1.4.1, >= 6.0.0, < 6.0.4.16.1 MEDIUM5.8 MEDIUM

A possible open redirect vulnerability in the Host Authorization middleware in Action Pack >= 6.0.0 that could allow attackers to redirect users to a malicious website.

>= 6.0.0, < 6.0.3.7, >= 6.1.0, < 6.1.0.27.5 HIGH5 MEDIUM

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.

>= 6.1.0, < 6.1.3.2, >= 6.0.0, < 6.0.3.7, < 5.2.4.6, >= 5.2.5, < 5.2.67.5 HIGH5 MEDIUM

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.

>= 6.1.1, < 6.1.3.2, = 6.1.06.1 MEDIUM5.8 MEDIUM

The actionpack ruby gem before 6.1.3.2 suffers from a possible open redirect vulnerability. Specially crafted 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. This is similar to CVE-2021-22881. Strings in config.hosts that do not have a leading dot are converted to regular expressions without proper escaping. This causes, for example, `config.hosts << "sub.example.com"` to permit a request with a Host header value of `sub-example.com`.

>= 6.1.0.0, < 6.1.3.1, >= 6.0.0.0, < 6.0.3.7, >= 5.2.0.0, < 5.2.4.67.5 HIGH5 MEDIUM

A possible information disclosure / unintended method execution vulnerability in Action Pack >= 2.0.0 when using the `redirect_to` or `polymorphic_url`helper with untrusted user input.

>= 6.1.0, < 6.1.2.1, >= 6.0.0, < 6.0.3.5, >= 4.2.0, < 5.2.4.57.5 HIGH5 MEDIUM

The PostgreSQL adapter in Active Record before 6.1.2.1, 6.0.3.5, 5.2.4.5 suffers from a regular expression denial of service (REDoS) vulnerability. Carefully crafted input can cause the input validation in the `money` type of the PostgreSQL adapter in Active Record to spend too much time in a regular expression, resulting in the potential for a DoS attack. This only impacts Rails applications that are using PostgreSQL along with money type columns that take user input.

>= 6.1.0, < 6.1.2.1, >= 6.0.0, < 6.0.3.56.1 MEDIUM5.8 MEDIUM

The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redirect vulnerability. Specially crafted `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. When an allowed host contains a leading dot, a specially crafted `Host` header can be used to redirect to a malicious website.

>= 6.0.0, < 6.0.3.46.1 MEDIUM4.3 MEDIUM

In actionpack gem >= 6.0.0, a possible XSS vulnerability exists when an application is running in development mode allowing an attacker to send or embed (in another page) a specially crafted URL which can allow the attacker to execute JavaScript in the context of the local application. This vulnerability is in the Actionable Exceptions middleware.

>= 6.0.0, < 6.0.3.1, < 5.2.4.34.3 MEDIUM4.3 MEDIUM

A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.

>= 6.0.0, < 6.0.3.26.5 MEDIUM4 MEDIUM

A denial of service vulnerability exists in Rails <6.0.3.2 that allowed an untrusted user to run any pending migrations on a Rails app running in production.

< 5.0.18.8 HIGH6.5 MEDIUM

The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.

>= 6.0.0, < 6.0.3.1, < 5.2.4.36.5 MEDIUM4.3 MEDIUM

A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs module that could allow attackers to send CSRF tokens to wrong domains.

>= 6.0.0, < 6.0.3.1, < 5.2.4.39.8 CRITICAL7.5 HIGH

A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attacker to unmarshal user-provided objects in MemCacheStore and RedisCacheStore potentially resulting in an RCE.

>= 6.0.0, < 6.0.3.1, < 5.2.4.37.5 HIGH5 MEDIUM

A deserialization of untrusted data vulnerability exists in rails < 5.2.4.3, rails < 6.0.3.1 which can allow an attacker to supply information can be inadvertently leaked fromStrong Parameters.

>= 6.0.0, < 6.0.3.1, < 5.2.4.27.5 HIGH5 MEDIUM

A client side enforcement of server side security vulnerability exists in rails < 5.2.4.2 and rails < 6.0.3.1 ActiveStorage's S3 adapter that allows the Content-Length of a direct file upload to be modified by an end user bypassing upload limits.

= 2.36.5 MEDIUM4.3 MEDIUM

The encrypt/decrypt functions in Ruby on Rails 2.3 are vulnerable to padding oracle attacks.

< 5.2.2.1, = 6.0.09.8 CRITICAL7.5 HIGH

A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit.

>= 5.0.0, < 5.0.7.2, >= 5.1.0, < 5.1.6.2, >= 5.2.0, < 5.2.2.1, < 4.2.11.17.5 HIGH7.8 HIGH

There is a possible denial of service vulnerability in Action View (Rails) <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 where specially crafted accept headers can cause action view to consume 100% cpu and make the server unresponsive.

>= 5.0.0, < 5.0.7.2, >= 5.1.0, < 5.1.6.2, >= 5.2.0, < 5.2.2.1, >= 3.0.0, < 4.2.11.17.5 HIGH5 MEDIUM

There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed.

>= 5.2.0, < 5.2.1.1, >= 4.2.0, < 4.2.11, >= 5.0.0, < 5.0.7.1, >= 5.1.0, < 5.1.6.15 MEDIUM

A Broken Access Control vulnerability in Active Job versions >= 4.2.0 allows an attacker to craft user input which can cause Active Job to deserialize it using GlobalId and give them access to information that they should not have. This vulnerability has been fixed in versions 4.2.11, 5.0.7.1, 5.1.6.1, and 5.2.1.1.

>= 5.2.0, < 5.2.1.14.3 MEDIUM

A bypass vulnerability in Active Storage >= 5.2.0 for Google Cloud Storage and Disk services allow an attacker to modify the `content-disposition` and `content-type` parameters which can be used in with HTML files and have them executed inline. Additionally, if combined with other techniques such as cookie bombing and specially crafted AppCache manifests, an attacker can gain access to private signed URLs within a specific storage path. This vulnerability has been fixed in version 5.2.1.1.

<= 5.1.48.1 HIGH6.8 MEDIUM

SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input

<= 5.1.48.1 HIGH6.8 MEDIUM

SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input

= 4.2.0, = 4.2.1, = 4.2.4, = 4.2.6, = 4.2.5, = 4.2.5.2, = 4.2.7, = 4.2.5.1, = 4.2.3, = 4.2.25 MEDIUM

Action Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660, CVE-2012-2694, and CVE-2013-0155.

= 3.0.0, = 4.1.13, = 4.0.1, = 4.0.2, = 4.1.10, = 4.1.12, = 4.1.0, = 4.1.14, = 4.1.6, = 4.1.2, = 4.1.15, = 4.2.0, = 4.0.0, = 4.0.6, = 4.1.9, = 4.1.16, = 5.0.0, = 4.0.8, = 4.0.7, = 4.1.7, = 4.1.5, = 4.2.7, = 4.2.5, = 4.2.2, = 3.2.0, = 4.2.4, = 3.1.0, = 3.1.1, = 3.1.2, = 4.1.7.1, = 4.2.6, = 4.2.1, = 4.2.3, = 3.0.10, = 4.1.8, = 4.1.1, = 4.2.5.2, = 4.2.5.1, = 3.0.13, = 3.1.4, = 3.1.5, = 3.2.7, = 4.0.9, = 4.1.4, = 4.1.3, = 3.0.12, = 4.1.14.2, = 4.0.10, = 3.0.3, = 3.0.2, = 3.0.7, = 3.1.9, = 3.0.6, = 3.0.9, = 3.0.11, = 3.1.6, = 3.2.3, = 3.2.8, = 3.2.12, = 3.2.13, = 3.2.15, = 4.0.4, = 3.1.10, = 3.0.19, = 3.0.8, = 3.0.17, = 3.2.2, = 3.1.3, = 3.2.6, = 3.2.9, = 3.2.18, = 4.0.3, = 3.1.12, = 3.2.1, = 3.0.4, = 3.0.16, = 3.0.14, = 3.1.8, = 3.1.7, = 3.2.10, = 3.2.11, = 3.2.21, = 4.0.5, = 3.0.1, = 3.0.20, = 3.0.5, = 3.0.18, = 3.2.4, = 3.2.5, = 3.2.16, = 3.2.17, = 3.2.22.24.3 MEDIUM

Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.0.6, = 4.1.0, = 4.1.9, = 4.1.2, = 4.1.12, = 4.1.10, = 4.2.0, = 4.1.14, = 4.1.13, = 4.1.6, = 4.2.4, = 4.2.3, = 4.2.1, = 4.1.3, = 4.2.5, = 4.1.5, = 4.1.4, = 4.2.5.1, = 4.1.7, = 4.1.1, = 4.0.8, = 4.0.7, = 4.2.2, = 4.1.8, = 4.1.7.1, = 4.0.9, = 4.0.5, = 4.0.10, = 4.0.3, = 4.0.47.5 HIGH

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.0.6, = 4.1.0, = 4.1.9, = 4.1.12, = 4.1.10, = 4.1.6, = 4.1.14, = 4.1.13, = 4.1.2, = 4.0.8, = 4.0.7, = 4.0.4, = 4.1.4, = 4.1.3, = 4.0.5, = 4.1.5, = 4.0.10, = 4.1.7, = 4.1.1, = 4.0.3, = 4.1.8, = 4.1.7.1, = 4.0.95 MEDIUM

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

= 4.1.0, = 4.1.2, = 4.1.6, = 4.1.9, = 4.1.10, = 4.2.1, = 4.2.0, = 4.1.12, = 4.1.13, = 4.2.4, = 4.2.3, = 4.1.14, = 4.2.5, = 4.1.1, = 4.1.8, = 4.1.4, = 4.1.3, = 4.1.5, = 4.1.7, = 5.0.0, = 4.2.2, >= 4.1.0, < 4.1.14.1, >= 4.2.0, < 4.2.5.15.3 MEDIUM5 MEDIUM

Active Model in Ruby on Rails 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 supports the use of instance-level writers for class accessors, which allows remote attackers to bypass intended validation steps via crafted parameters.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.0.6, = 4.1.0, = 4.1.2, = 4.2.3, = 4.1.10, = 4.1.9, = 4.2.5, = 4.2.0, = 4.1.14, = 5.0.0, = 4.2.1, = 4.2.4, = 4.1.13, = 4.1.12, = 4.1.6, = 4.1.3, = 4.0.8, = 4.0.7, = 4.0.3, = 4.1.8, = 4.1.7, = 4.1.1, = 4.2.2, = 4.0.10, = 4.1.5, = 4.1.4, = 4.0.9, = 4.0.5, = 4.0.4, >= 4.2.0, < 4.2.5.1, < 3.2.22.1, >= 4.0.0, < 4.1.14.17.5 HIGH5 MEDIUM

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.

= 4.0.0, = 4.2.0, = 4.1.6, = 4.1.13, = 4.1.12, = 4.1.0, = 4.0.1, = 4.1.10, = 4.1.9, = 4.1.2, = 4.0.6, = 4.0.2, = 4.2.5, = 4.2.4, = 4.2.1, = 4.1.5, = 4.1.8, = 4.1.7, = 4.0.4, = 5.0.0, = 4.2.2, = 4.1.1, = 4.0.7, = 4.2.3, = 4.1.4, = 4.1.3, = 4.0.9, = 4.0.8, = 4.0.5, = 4.0.10, = 4.0.35 MEDIUM

actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly restrict use of the MIME type cache, which allows remote attackers to cause a denial of service (memory consumption) via a crafted HTTP Accept header.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.0.6, = 4.1.0, = 4.1.2, = 5.0.0, = 4.2.5, = 4.1.7, = 4.1.6, = 4.1.5, = 4.1.1, = 4.2.0, = 4.1.8, = 4.2.4, = 4.2.3, = 4.1.4, = 4.1.3, = 4.0.9, = 4.2.2, = 4.2.1, = 4.0.8, = 4.0.7, = 4.0.10, = 4.0.5, = 4.0.4, = 4.0.35 MEDIUM

actionpack/lib/action_dispatch/routing/route_set.rb in Action Pack in Ruby on Rails 4.x before 4.2.5.1 and 5.x before 5.0.0.beta1.1 allows remote attackers to cause a denial of service (superfluous caching and memory consumption) by leveraging an application's use of a wildcard controller route.

= 4.2.0, = 4.2.1, = 4.2.2, = 4.2.3, = 4.2.4, = 4.2.5, = 4.2.5.1, = 4.2.5.2, = 4.2.6, = 5.0.04.3 MEDIUM

Cross-site scripting (XSS) vulnerability in lib/rails/html/scrubbers.rb in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via a crafted CDATA node.

= 4.2.0, = 4.2.1, = 4.2.2, = 4.2.3, = 4.2.4, = 4.2.5, = 4.2.5.1, = 4.2.5.2, = 4.2.6, = 5.0.04.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem 1.0.2 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via an HTML entity that is mishandled by the Rails::Html::FullSanitizer class.

= 4.2.0, = 4.2.1, = 4.2.2, = 4.2.3, = 4.2.4, = 4.2.5, = 4.2.5.1, = 4.2.5.2, = 4.2.6, = 5.0.04.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the rails-html-sanitizer gem before 1.0.3 for Ruby on Rails 4.2.x and 5.x allows remote attackers to inject arbitrary web script or HTML via crafted tag attributes.

= 4.0.0, = 4.1.2, = 4.1.0, = 4.1.10, = 4.1.6, = 4.0.6, = 4.0.2, = 4.0.1, = 4.1.9, = 4.2.4, = 4.2.1, = 4.2.0, = 4.1.14, = 4.0.9, = 5.0.0, = 4.2.5, = 4.1.13, = 4.1.1, = 4.1.12, = 4.1.3, = 4.2.3, = 4.0.8, = 4.0.7, = 4.1.8, = 4.1.7.1, = 4.1.7, = 4.0.10, = 4.0.5, = 4.0.4, = 4.2.2, = 4.1.5, = 4.1.4, = 4.0.35 MEDIUM

activerecord/lib/active_record/nested_attributes.rb in Active Record in Ruby on Rails 3.1.x and 3.2.x before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly implement a certain destroy option, which allows remote attackers to bypass intended change restrictions by leveraging use of the nested attributes feature.

= 4.0.0, = 4.1.2, = 4.1.0, = 4.1.9, = 4.1.10, = 4.1.6, = 4.0.2, = 4.0.6, = 4.0.1, = 4.2.4, = 4.2.3, = 4.2.1, = 4.2.0, = 4.1.14, = 4.0.9, = 4.2.5, = 4.1.12, = 4.1.3, = 4.1.13, = 4.1.1, = 4.0.8, = 4.0.7, = 5.0.0, = 4.1.7.1, = 4.1.7, = 4.0.10, = 4.0.5, = 4.0.4, = 4.1.8, = 4.1.4, = 4.2.2, = 4.0.3, = 4.1.54.3 MEDIUM

The http_basic_authenticate_with method in actionpack/lib/action_controller/metal/http_authentication.rb in the Basic Authentication implementation in Action Controller in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not use a constant-time algorithm for verifying credentials, which makes it easier for remote attackers to bypass authentication by measuring timing differences.

= 4.1.2, = 4.1.6, = 4.2.0, = 4.2.1, = 4.1.1, = 4.1.3, = 4.1.4, = 4.1.5, = 4.1.7, = 4.1.8, = 4.1.05 MEDIUM

The (1) jdom.rb and (2) rexml.rb components in Active Support in Ruby on Rails before 4.1.11 and 4.2.x before 4.2.2, when JDOM or REXML is enabled, allow remote attackers to cause a denial of service (SystemStackError) via a large XML document depth.

= 3.0.0, = 4.1.2, = 4.1.6, = 4.2.0, = 4.2.1, = 4.1.1, = 4.1.3, = 4.1.4, = 4.1.7, = 3.2.17, = 3.2.16, = 3.2.12, = 3.2.11, = 3.2.8, = 3.2.7, = 3.2.0, = 3.1.0, = 4.1.5, = 3.2.15, = 3.2.13, = 3.2.6, = 3.2.5, = 4.1.8, = 3.2.10, = 3.2.9, = 3.2.1, = 3.2.4, = 3.2.3, = 4.1.0, = 3.2.24.3 MEDIUM

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

= 3.0.0, = 3.0.1, = 4.0.0, = 4.0.6, = 4.1.2, = 4.1.6, = 3.0.2, = 4.0.1, = 4.2.0, = 4.1.0, = 4.0.2, = 3.0.10, = 3.1.0, = 3.1.1, = 3.1.4, = 3.1.5, = 3.2.0, = 4.0.7, = 4.1.1, = 3.0.12, = 3.1.2, = 4.1.3, = 3.0.13, = 4.1.4, = 4.1.5, = 4.0.8, = 4.0.9, = 4.1.7, = 3.0.14, = 3.0.16, = 3.0.4, = 3.0.7, = 3.0.9, = 3.2.15, = 3.2.16, = 3.2.3, = 3.0.5, = 3.0.6, = 3.0.8, = 3.1.7, = 3.1.8, = 3.2.11, = 3.2.12, = 3.2.5, = 3.2.6, = 4.0.4, = 4.0.5, = 3.0.20, = 3.0.3, = 3.1.3, = 3.1.9, = 3.2.13, = 3.2.2, = 3.2.7, = 3.2.8, = 3.0.11, = 3.0.17, = 3.0.18, = 3.0.19, = 3.1.10, = 3.1.6, = 3.2.1, = 3.2.10, = 3.2.17, = 3.2.18, = 3.2.4, = 4.0.3, = 4.0.105 MEDIUM

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \ (backslash) character, a similar issue to CVE-2014-7818.

= 1.9.3, = 2.1.0, = 2.0.05 MEDIUM

The str_buf_cat function in string.c in Ruby 1.9.3, 2.0.0, and 2.1 allows context-dependent attackers to cause a denial of service (segmentation fault and crash) via a long string.

= 3.0.0, = 3.0.1, = 4.0.2, = 4.0.8, = 4.0.9, = 4.1.2, = 4.2.0, = 4.0.0, = 4.0.6, = 4.0.7, = 4.1.6, = 4.0.1, = 3.0.2, = 4.1.0, = 3.0.10, = 3.1.0, = 3.1.1, = 3.1.4, = 3.1.5, = 3.2.0, = 3.0.13, = 3.0.12, = 3.1.2, = 4.1.3, = 4.1.4, = 3.2.7, = 3.2.8, = 4.1.1, = 4.1.5, = 3.0.16, = 3.0.17, = 3.0.4, = 3.0.7, = 3.0.9, = 3.0.14, = 3.0.3, = 3.0.6, = 3.0.8, = 3.2.1, = 3.2.16, = 3.2.17, = 3.2.4, = 4.0.3, = 3.1.3, = 3.2.13, = 3.2.15, = 3.2.3, = 4.0.10, = 3.0.11, = 3.0.18, = 3.0.19, = 3.0.5, = 3.1.10, = 3.1.6, = 3.1.7, = 3.2.10, = 3.2.11, = 3.2.18, = 3.2.5, = 3.2.6, = 4.0.4, = 4.0.5, = 3.0.20, = 3.1.8, = 3.1.9, = 3.2.12, = 3.2.24.3 MEDIUM

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20, 4.0.x before 4.0.11, 4.1.x before 4.1.7, and 4.2.x before 4.2.0.beta3, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via a /..%2F sequence.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.0.6, = 4.1.0, = 4.1.2, = 4.0.3, = 4.0.7, = 4.1.3, = 4.1.4, = 4.0.8, = 4.0.4, = 4.0.5, = 4.1.17.5 HIGH

activerecord/lib/active_record/relation/query_methods.rb in Active Record in Ruby on Rails 4.0.x before 4.0.9 and 4.1.x before 4.1.5 allows remote attackers to bypass the strong parameters protection mechanism via crafted input to an application that makes create_with calls.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.0.6, = 4.1.0, = 4.1.2, = 4.0.5, = 4.0.4, = 4.0.3, = 4.1.17.5 HIGH

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 4.x before 4.0.7 and 4.1.x before 4.1.3 allows remote attackers to execute arbitrary SQL commands by leveraging improper range quoting.

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.2, = 2.3.0, = 2.3.15, = 2.3.16, = 2.3.1, = 2.3.10, = 2.3.2, = 2.3.3, = 2.3.18, = 2.3.11, = 2.3.12, = 2.3.4, = 2.3.9, = 2.0.0, = 2.2.1, = 2.3.13, = 2.3.14, = 3.1.4, = 3.1.1, = 3.1.0, = 3.0.1, = 3.0.0, = 3.1.5, = 3.0.10, = 3.1.2, = 3.0.2, = 3.0.13, = 3.0.12, = 3.2.4, = 3.2.3, = 3.2.16, = 3.2.15, = 3.2.0, = 3.0.9, = 3.0.7, = 3.0.6, = 3.0.3, = 3.0.16, = 3.0.14, = 3.2.5, = 3.2.18, = 3.2.17, = 3.2.1, = 3.1.10, = 3.0.8, = 3.0.4, = 3.0.18, = 3.0.17, = 3.0.11, = 3.2.9, = 3.2.8, = 3.2.13, = 3.2.12, = 3.1.9, = 3.1.8, = 3.1.3, = 3.0.20, = 3.2.7, = 3.2.6, = 3.2.2, = 3.2.11, = 3.2.10, = 3.1.7, = 3.1.6, = 3.0.5, = 3.0.197.5 HIGH

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 2.x and 3.x before 3.2.19 allows remote attackers to execute arbitrary SQL commands by leveraging improper bitstring quoting.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.1.0, = 3.2.0, = 3.2.7, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.11, = 3.2.13, = 3.2.8, = 3.2.15, = 4.0.4, = 3.2.10, = 3.2.9, = 3.2.4, = 4.0.3, = 3.2.2, = 3.2.3, = 3.2.16, = 3.2.12, >= 4.1.0, < 4.1.1, >= 4.0.0, < 4.0.5, < 3.2.187.5 HIGH4.3 MEDIUM

Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1, when certain route globbing configurations are enabled, allows remote attackers to read arbitrary files via a crafted request.

= 3.0.0, = 3.0.12, = 3.0.13, = 3.0.2, = 3.1.0, = 3.0.1, = 3.0.10, = 3.2.15, = 3.1.2, = 3.2.13, = 3.0.14, = 3.0.3, = 3.1.1, = 3.1.4, = 3.2.0, = 3.2.7, = 3.0.16, = 3.0.17, = 3.1.5, = 3.2.8, = 3.2.9, = 3.0.11, = 3.0.18, = 3.0.19, = 3.0.20, = 3.0.6, = 3.0.8, = 3.1.8, = 3.1.9, = 3.2.12, = 3.2.4, = 3.2.5, = 3.0.7, = 3.0.9, = 3.1.3, = 3.2.2, = 3.2.6, = 3.0.4, = 3.2.1, = 3.2.3, = 3.0.5, = 3.1.10, = 3.1.6, = 3.1.7, = 3.2.10, = 3.2.115 MEDIUM

actionpack/lib/action_view/template/text.rb in Action View in Ruby on Rails 3.x before 3.2.17 converts MIME type strings to symbols during use of the :text option to the render method, which allows remote attackers to cause a denial of service (memory consumption) by including these strings in headers.

= 1.2.4, = 0.11.0, = 0.11.1, = 0.9.1, = 0.10.1, = 0.9.3, = 0.9.4.1, = 0.10.0, = 0.9.2, = 0.9.4, = 0.12.0, = 0.12.1, = 1.2.0, = 1.2.1, = 1.2.2, = 1.2.3, = 2.1.2, = 2.2.0, = 2.2.1, = 2.2.2, = 0.13.0, = 0.14.1, = 1.1.3, = 1.1.5, = 1.2.5, = 1.9.5, = 2.1.0, = 2.1.1, = 2.3.0, = 2.3.2, = 0.14.3, = 0.14.4, = 1.0.0, = 1.1.0, = 1.1.1, = 1.1.2, = 2.0.1, = 2.0.2, = 0.13.1, = 0.14.2, = 1.1.4, = 1.1.6, = 1.2.6, = 2.0.4, = 2.3.1, = 2.3.3, = 3.0.0, = 3.1.0, = 2.3.10, = 2.3.4, = 3.0.1, = 3.0.12, = 3.0.13, = 3.0.2, = 3.1.1, = 3.1.2, = 3.1.4, = 3.2.13, = 4.0.1, = 4.0.0, = 3.1.5, = 4.1.0, = 3.2.15, = 2.0.0, = 2.3.12, = 2.3.13, = 2.3.14, = 2.3.15, = 2.3.16, = 3.0.10, = 3.2.0, = 3.2.7, = 3.2.8, = 3.2.9, = 2.3.11, = 2.3.9, = 4.0.2, = 3.0.14, = 3.0.16, = 3.0.17, = 3.0.18, = 3.0.19, = 3.0.7, = 3.0.8, = 3.0.20, = 3.0.6, = 3.0.9, = 3.1.7, = 3.1.9, = 3.2.12, = 3.2.3, = 3.2.4, = 3.2.6, = 3.1.6, = 3.2.2, = 3.0.11, = 3.0.4, = 3.0.5, = 3.1.10, = 3.2.1, = 3.2.10, = 3.0.3, = 3.1.3, = 3.1.8, = 3.2.11, = 3.2.54.3 MEDIUM

Multiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.17, 4.0.x before 4.0.3, and 4.1.x before 4.1.0.beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.

= 4.0.0, = 4.0.1, = 4.0.2, = 4.1.06.8 MEDIUM

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/cast.rb in Active Record in Ruby on Rails 4.0.x before 4.0.3, and 4.1.0.beta1, when PostgreSQL is used, allows remote attackers to execute "add data" SQL commands via vectors involving \ (backslash) characters that are not properly handled in operations on array columns.

= 3.0.0, = 3.1.0, = 3.0.2, = 3.0.13, = 3.0.12, = 3.0.10, = 3.0.1, = 3.2.13, = 3.1.2, = 3.1.1, = 3.0.3, = 3.0.20, = 3.0.14, = 3.2.9, = 3.2.0, = 3.1.5, = 3.0.19, = 3.0.18, = 3.0.11, = 3.2.8, = 3.2.7, = 3.1.4, = 3.0.17, = 3.0.16, = 3.2.6, = 3.2.5, = 3.2.2, = 3.2.12, = 3.1.9, = 3.1.8, = 3.1.3, = 3.0.9, = 3.2.4, = 3.2.11, = 3.2.10, = 3.1.7, = 3.1.6, = 3.0.8, = 3.0.6, = 3.0.5, = 3.2.3, = 3.2.1, = 3.1.10, = 3.0.7, = 3.0.4, = 4.0.0, <= 4.0.1, = 4.0.16.4 MEDIUM

actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request that leverages (1) third-party Rack middleware or (2) custom Rack middleware. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-0155.

= 4.0.0, <= 4.0.1, = 4.0.14.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.

= 3.0.0, = 3.0.12, = 3.1.0, = 3.0.10, = 3.0.13, = 3.0.1, = 3.0.2, = 3.1.5, = 3.1.2, = 3.0.19, = 3.0.11, = 3.2.7, = 3.2.13, = 3.2.0, = 3.1.4, = 3.1.1, = 3.2.9, = 3.2.8, = 3.0.18, = 3.0.17, = 3.0.3, = 3.0.16, = 3.0.14, = 3.0.20, = 3.2.4, = 3.2.3, = 3.2.10, = 3.2.1, = 3.1.6, = 3.1.10, = 3.0.9, = 3.0.8, = 3.0.5, = 3.2.6, = 3.2.2, = 3.1.9, = 3.1.3, = 3.0.7, = 3.0.4, = 3.0.6, = 3.2.5, = 3.2.12, = 3.2.11, = 3.1.8, = 3.1.7, = 4.0.0, <= 4.0.1, = 4.0.14.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the number_to_currency helper in actionpack/lib/action_view/helpers/number_helper.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via the unit parameter.

= 4.0.0, <= 4.0.1, = 4.0.1, = 3.0.0, = 3.1.0, = 3.0.2, = 3.0.13, = 3.0.10, = 3.0.1, = 3.0.12, = 3.2.8, = 3.2.7, = 3.2.13, = 3.1.2, = 3.1.1, = 3.0.20, = 3.2.0, = 3.1.4, = 3.0.3, = 3.0.16, = 3.0.14, = 3.1.5, = 3.0.19, = 3.2.9, = 3.0.18, = 3.0.17, = 3.0.11, = 3.2.6, = 3.2.5, = 3.2.4, = 3.2.12, = 3.1.8, = 3.1.7, = 3.0.8, = 3.0.6, = 3.2.2, = 3.1.9, = 3.1.3, = 3.0.9, = 3.0.7, = 3.2.3, = 3.2.11, = 3.2.10, = 3.1.6, = 3.0.5, = 3.2.1, = 3.1.10, = 3.0.45 MEDIUM

actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to cause a denial of service (memory consumption) via a header containing an invalid MIME type that leads to excessive caching.

= 4.0.0, <= 4.0.1, = 4.0.1, = 3.0.0, = 3.1.0, = 3.0.13, = 3.0.10, = 3.0.1, = 3.0.2, = 3.0.12, = 3.2.13, = 3.1.2, = 3.1.1, = 3.0.3, = 3.0.20, = 3.0.14, = 3.2.8, = 3.2.7, = 3.2.0, = 3.1.4, = 3.0.17, = 3.0.16, = 3.2.9, = 3.1.5, = 3.0.19, = 3.0.18, = 3.0.11, = 3.2.6, = 3.2.5, = 3.2.2, = 3.2.12, = 3.1.9, = 3.1.8, = 3.1.3, = 3.0.9, = 3.0.8, = 3.0.6, = 3.2.3, = 3.0.7, = 3.2.1, = 3.1.10, = 3.0.5, = 3.0.4, = 3.2.4, = 3.2.11, = 3.2.10, = 3.1.7, = 3.1.64.3 MEDIUM

Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.

= 3.0.0, = 3.0.10, = 3.0.12, = 3.0.13, = 3.1.0, = 3.1.1, = 3.1.2, = 3.2.13, = 3.0.14, = 3.0.16, = 3.1.3, = 3.2.0, = 3.2.7, = 3.2.8, = 3.0.1, = 3.0.17, = 3.0.18, = 3.1.4, = 3.1.5, = 3.2.9, = 3.0.3, = 3.0.11, = 3.0.19, = 3.0.2, = 3.0.20, = 3.0.5, = 3.0.6, = 3.2.1, = 3.0.7, = 3.0.8, = 3.2.10, = 3.2.11, = 3.2.2, = 3.2.12, = 3.1.10, = 3.1.8, = 3.1.9, = 3.2.6, = 3.2.5, = 3.0.9, = 3.1.6, = 3.1.7, = 3.2.3, = 3.2.4, >= 3.0.0, < 3.2.154.3 MEDIUM

Multiple format string vulnerabilities in log_subscriber.rb files in the log subscriber component in Action Mailer in Ruby on Rails 3.x before 3.2.15 allow remote attackers to cause a denial of service via a crafted e-mail address that is improperly handled during construction of a log message.

= 2.3.0, = 2.3.1, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 2.3.11, = 2.3.12, = 2.3.14, = 2.3.13, = 2.3.16, = 2.3.15, = 3.0.0, = 3.0.1, = 3.0.2, = 3.0.3, = 3.0.13, = 3.0.4, = 3.0.12, = 3.0.17, = 3.0.14, = 3.0.10, = 3.0.19, = 3.0.16, = 3.0.18, = 3.0.11, = 3.0.20, = 3.0.8, = 3.0.6, = 3.0.5, = 3.0.9, = 3.0.7, = 3.1.0, = 3.1.8, = 3.1.7, = 3.1.1, = 3.1.5, = 3.1.2, = 3.1.9, = 3.1.3, = 3.1.4, = 3.1.10, = 3.1.6, = 3.2.0, = 3.2.7, = 3.2.8, = 3.2.9, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.11, = 3.2.2, = 3.2.4, = 3.2.10, = 3.2.36.4 MEDIUM

The Active Record component in Ruby on Rails 2.3.x, 3.0.x, 3.1.x, and 3.2.x does not ensure that the declared data type of a database column is used during comparisons of input values to stored values in that column, which makes it easier for remote attackers to conduct data-type injection attacks against Ruby on Rails applications via a crafted value, as demonstrated by unintended interaction between the "typed XML" feature and a MySQL database.

= 1.2.4, = 0.9.4.1, = 0.14.2, = 0.10.0, = 0.11.0, = 0.10.1, = 0.9.2, = 0.9.4, = 0.14.1, = 0.12.0, = 0.11.1, = 0.13.0, = 0.9.1, = 0.9.3, = 0.12.1, = 0.13.1, = 2.3.2, = 2.3.0, = 2.3.9, = 2.3.11, = 2.3.12, = 2.3.10, = 2.2.1, = 2.1.1, = 2.1.2, = 2.1.0, = 1.2.1, = 1.2.0, = 1.1.6, = 1.1.5, = 0.14.4, = 2.3.4, = 2.2.0, = 2.0.4, = 2.0.1, = 1.2.5, = 1.2.3, = 1.1.3, = 1.1.1, = 0.14.3, = 1.9.5, = 1.2.6, = 1.1.0, = 1.0.0, = 2.3.13, = 2.3.3, = 2.3.1, = 2.2.2, = 2.0.2, = 1.2.2, = 1.1.4, = 1.1.2, = 2.3.15, = 2.0.0, = 2.3.14, = 2.3.16, = 3.0.0, = 3.0.1, = 3.0.2, = 3.0.4, = 3.0.12, = 3.0.13, = 3.0.19, = 3.0.16, = 3.0.17, = 3.0.18, = 3.0.14, = 3.0.10, = 3.0.3, = 3.0.11, = 3.0.20, = 3.0.7, = 3.0.8, = 3.0.9, = 3.0.5, = 3.0.6, = 3.1.0, = 3.1.8, = 3.1.2, = 3.1.3, = 3.1.1, = 3.1.4, = 3.1.5, = 3.1.7, = 3.1.6, = 3.1.9, = 3.1.10, = 3.2.0, = 3.2.7, = 3.2.8, = 3.2.9, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.11, = 3.2.4, = 3.2.3, = 3.2.2, = 3.2.12, = 3.2.104.3 MEDIUM

The sanitize helper in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not properly handle encoded : (colon) characters in URLs, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted scheme name, as demonstrated by including a &#x3a; sequence.

= 3.1.0, = 3.2.8, = 3.2.0, = 3.1.1, = 3.1.5, = 3.1.2, = 3.2.7, = 3.1.4, = 3.2.10, = 3.2.3, = 3.2.2, = 3.1.8, = 3.1.7, = 3.2.1, = 3.1.9, = 3.1.10, = 3.2.11, = 3.2.4, = 3.2.6, = 3.1.6, = 3.2.12, = 3.2.9, = 3.2.5, = 3.1.35.8 MEDIUM

The ActiveSupport::XmlMini_JDOM backend in lib/active_support/xml_mini/jdom.rb in the Active Support component in Ruby on Rails 3.0.x and 3.1.x before 3.1.12 and 3.2.x before 3.2.13, when JRuby is used, does not properly restrict the capabilities of the XML parser, which allows remote attackers to read arbitrary files or cause a denial of service (resource consumption) via vectors involving (1) an external DTD or (2) an external entity declaration in conjunction with an entity reference.

= 3.2.0, = 3.2.7, = 3.2.8, = 3.2.9, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.11, = 3.2.10, = 3.2.4, = 3.2.3, = 3.2.2, = 3.2.12, = 1.2.4, = 0.9.3, = 0.9.4, = 0.9.4.1, = 0.14.2, = 0.10.0, = 0.11.0, = 0.9.2, = 0.13.0, = 0.14.1, = 0.12.0, = 0.11.1, = 0.9.1, = 0.12.1, = 0.13.1, = 0.10.1, = 2.3.11, = 2.2.0, = 2.2.1, = 2.1.1, = 2.1.2, = 1.2.2, = 1.2.1, = 1.2.0, = 1.1.6, = 0.14.4, = 0.14.3, = 2.3.12, = 2.3.9, = 2.3.4, = 2.0.4, = 1.2.5, = 1.2.3, = 1.1.5, = 1.1.3, = 2.3.3, = 2.3.2, = 2.3.0, = 2.0.1, = 1.9.5, = 1.1.1, = 1.1.0, = 1.0.0, = 2.3.10, = 2.3.13, = 2.3.1, = 2.2.2, = 2.1.0, = 2.0.2, = 1.2.6, = 1.1.4, = 1.1.2, = 2.3.14, = 2.3.16, = 2.3.15, = 2.0.0, = 3.0.0, = 3.0.1, = 3.0.2, = 3.0.4, = 3.0.13, = 3.0.12, = 3.0.20, = 3.0.19, = 3.0.16, = 3.0.17, = 3.0.3, = 3.0.14, = 3.0.10, = 3.0.18, = 3.0.11, = 3.0.7, = 3.0.9, = 3.0.5, = 3.0.8, = 3.0.6, = 3.1.0, = 3.1.2, = 3.1.3, = 3.1.1, = 3.1.8, = 3.1.6, = 3.1.4, = 3.1.5, = 3.1.7, = 3.1.9, = 3.1.104.3 MEDIUM

The sanitize_css method in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not properly handle \n (newline) characters, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via crafted Cascading Style Sheets (CSS) token sequences.

= 2.3.0, = 2.3.1, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 3.1.0, = 2.3.13, = 3.1.1, = 2.3.11, = 2.3.16, = 2.3.15, = 2.3.14, = 2.3.12, = 3.2.11, = 3.2.12, = 3.2.0, = 3.2.1, = 3.2.2, = 3.2.6, = 3.2.5, = 3.1.2, = 3.1.3, = 3.2.7, = 3.2.10, = 3.1.8, = 3.1.9, = 3.1.10, = 3.1.5, = 3.2.4, = 3.2.9, = 3.2.3, = 3.1.6, = 3.1.4, = 3.2.8, = 3.1.75 MEDIUM

The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.16, = 3.0.12, = 3.0.13, = 3.0.4, = 3.0.14, = 3.0.19, = 3.0.3, = 3.0.11, = 3.0.20, = 3.0.17, = 3.0.18, = 3.0.10, = 3.0.7, = 3.0.9, = 3.0.5, = 3.0.8, = 3.0.6, = 2.3.0, = 2.3.1, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 2.3.11, = 2.3.12, = 2.3.14, = 2.3.13, = 2.3.16, = 2.3.1510 HIGH

ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or execute arbitrary code via crafted serialized attributes that cause the +serialize+ helper to deserialize arbitrary YAML.

= 3.2.0, = 3.2.7, = 3.2.8, = 3.2.9, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.3, = 3.2.11, = 3.2.4, = 3.2.2, = 3.2.10, = 3.1.0, = 3.1.3, = 3.1.1, = 3.1.4, = 3.1.5, = 3.1.2, = 3.1.6, = 3.1.9, = 3.1.8, = 3.1.7, = 3.1.10, = 2.3.0, = 2.3.1, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 2.3.11, = 2.3.12, = 2.3.15, = 2.3.14, = 2.3.13, = 2.3.164.3 MEDIUM

ActiveRecord in Ruby on Rails before 2.3.17, 3.1.x before 3.1.11, and 3.2.x before 3.2.12 allows remote attackers to bypass the attr_protected protection mechanism and modify protected model attributes via a crafted request.

= 2.3.0, = 2.3.1, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 2.3.11, = 2.3.12, = 2.3.15, = 2.3.13, = 2.3.14, = 3.0.0, = 3.0.1, = 3.0.2, = 3.0.5, = 3.0.3, = 3.0.13, = 3.0.12, = 3.0.17, = 3.0.14, = 3.0.10, = 3.0.16, = 3.0.4, = 3.0.18, = 3.0.11, = 3.0.19, = 3.0.8, = 3.0.6, = 3.0.9, = 3.0.77.5 HIGH

lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulnerability than CVE-2013-0156.

>= 3.2.0, < 3.2.117.5 HIGH

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.

>= 3.2.0, < 3.2.116.4 MEDIUM

Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.

= 1.2.4, = 0.13.0, = 0.12.1, = 0.10.1, = 0.9.1, = 0.9.2, = 0.14.1, = 0.13.1, = 0.9.3, = 0.9.4, = 0.9.4.1, = 0.12.0, = 0.11.1, = 0.10.0, = 0.11.0, = 2.3.11, = 2.3.12, = 2.1.0, = 1.9.5, = 1.2.6, = 1.1.5, = 1.1.4, = 2.2.2, = 2.3.10, = 2.0.2, = 2.0.4, = 1.2.5, = 1.1.3, = 1.1.2, = 2.3.3, = 2.2.0, = 2.2.1, = 2.0.0, = 2.0.1, = 1.2.3, = 1.2.2, = 1.2.1, = 1.1.1, = 1.1.0, = 0.14.3, = 0.14.2, = 2.3.2, = 2.3.9, = 2.3.4, = 2.1.1, = 2.1.2, = 1.2.0, = 1.1.6, = 1.0.0, = 0.14.4, = 3.2.0, = 3.2.6, = 3.1.0, = 3.1.3, = 3.1.1, = 3.1.4, = 3.1.5, = 3.1.2, = 3.0.8, = 3.0.6, = 3.0.3, = 3.0.13, = 3.0.10, = 3.0.0, = 3.2.5, = 3.1.8, = 3.1.7, = 3.0.5, = 3.0.7, = 3.0.17, = 3.0.14, = 3.0.9, = 3.0.12, = 3.2.8, = 3.2.7, = 3.0.16, = 3.0.2, = 3.0.11, = 3.2.1, = 3.1.6, = 3.0.4, = 3.0.1, = 3.2.4, = 3.2.2, = 3.2.3, < 3.2.105 MEDIUM

The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe find_by_id method calls, which might allow remote attackers to conduct CVE-2012-6496 SQL injection attacks via a crafted parameter in environments that have a known secret_token value, as demonstrated by a value contained in secret_token.rb in an open-source product.

= 3.1.0, = 3.1.2, = 3.1.4, = 3.1.7, = 3.1.1, = 3.1.8, = 3.1.3, = 3.1.5, = 3.1.6, = 3.0.0, = 3.0.1, = 3.0.12, = 3.0.5, = 3.0.14, = 3.0.10, = 3.0.6, = 3.0.4, = 3.0.2, = 3.0.3, = 3.0.13, = 3.0.16, = 3.0.11, = 3.0.8, = 3.0.7, = 3.0.9, = 3.2.0, = 3.2.7, = 3.2.8, = 3.2.9, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.4, = 3.2.3, = 3.2.27.5 HIGH

SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

= 1.2.4, = 0.9.2, = 0.9.3, = 0.13.1, = 0.9.1, = 0.12.1, = 0.14.1, = 0.11.1, = 0.13.0, = 0.11.0, = 0.10.1, = 0.9.4, = 0.9.4.1, = 0.12.0, = 0.10.0, = 2.1.2, = 2.1.0, = 2.0.0, = 2.3.3, = 1.2.3, = 1.2.2, = 1.1.2, = 1.1.1, = 0.14.3, = 2.2.1, = 2.1.1, = 2.0.1, = 1.2.6, = 1.2.5, = 1.1.4, = 1.1.3, = 2.3.10, = 2.2.0, = 2.0.4, = 2.3.4, = 1.9.5, = 1.1.6, = 1.1.5, = 0.14.4, = 2.3.11, = 2.3.12, = 2.2.2, = 2.0.2, = 2.3.2, = 2.3.9, = 1.2.1, = 1.2.0, = 1.1.0, = 1.0.0, = 0.14.2, = 3.0.14, = 3.0.8, = 3.0.9, = 3.0.6, = 3.0.2, = 3.0.3, = 3.0.11, = 3.0.0, = 3.0.7, = 3.0.5, = 3.0.1, = 3.0.10, = 3.0.12, = 3.0.4, = 3.0.13, = 3.1.0, = 3.1.7, = 3.1.1, = 3.1.5, = 3.1.2, = 3.1.6, = 3.1.3, = 3.1.4, = 3.2.0, = 3.2.7, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.2, = 3.2.3, = 3.2.44.3 MEDIUM

Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/sanitize_helper.rb in the strip_tags helper in Ruby on Rails before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via malformed HTML markup.

= 1.2.4, = 0.9.2, = 0.9.3, = 0.9.4, = 0.9.4.1, = 0.12.0, = 0.11.1, = 0.10.0, = 0.11.0, = 0.10.1, = 0.14.1, = 0.13.1, = 0.9.1, = 0.13.0, = 0.12.1, = 2.1.1, = 2.1.2, = 2.0.0, = 2.3.3, = 1.2.3, = 1.1.3, = 1.1.2, = 2.3.11, = 2.3.12, = 2.1.0, = 2.3.2, = 2.3.9, = 1.2.2, = 1.2.1, = 1.1.1, = 1.1.0, = 0.14.3, = 0.14.2, = 2.2.2, = 2.3.10, = 2.0.2, = 2.0.4, = 2.3.4, = 1.9.5, = 1.2.0, = 1.1.6, = 1.0.0, = 0.14.4, = 2.2.0, = 2.2.1, = 2.0.1, = 1.2.6, = 1.2.5, = 1.1.5, = 1.1.4, = 3.0.14, = 3.0.8, = 3.0.7, = 3.0.5, = 3.0.6, = 3.0.2, = 3.0.1, = 3.0.10, = 3.0.12, = 3.0.11, = 3.0.0, = 3.0.9, = 3.0.3, = 3.0.4, = 3.0.13, = 3.1.0, = 3.1.2, = 3.1.6, = 3.1.4, = 3.1.3, = 3.1.1, = 3.1.5, = 3.1.7, = 3.2.0, = 3.2.7, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.2, = 3.2.4, = 3.2.34.3 MEDIUM

Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.4, = 3.0.12, = 3.0.13, = 3.0.14, = 3.0.16, = 3.0.6, = 3.0.11, = 3.0.5, = 3.0.10, = 3.0.3, = 3.0.8, = 3.0.9, = 3.0.7, = 3.1.0, = 3.1.2, = 3.1.6, = 3.1.4, = 3.1.1, = 3.1.3, = 3.1.5, = 3.1.7, = 3.2.0, = 3.2.7, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.2, = 3.2.3, = 3.2.44.3 MEDIUM

Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_tag_helper.rb in Ruby on Rails 3.x before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via the prompt field to the select_tag helper.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.5, = 3.0.13, = 3.0.11, = 3.0.6, = 3.0.4, = 3.0.12, = 3.0.3, = 3.0.10, = 3.0.14, = 3.0.8, = 3.0.7, = 3.0.9, = 3.1.0, = 3.1.1, = 3.1.2, = 3.1.5, = 3.1.6, = 3.1.3, = 3.1.4, = 3.2.0, = 3.2.1, = 3.2.5, = 3.2.6, = 3.2.2, = 3.2.3, = 3.2.45 MEDIUM

The decode_credentials method in actionpack/lib/action_controller/metal/http_authentication.rb in Ruby on Rails 3.x before 3.0.16, 3.1.x before 3.1.7, and 3.2.x before 3.2.7 converts Digest Authentication strings to symbols, which allows remote attackers to cause a denial of service by leveraging access to an application that uses a with_http_digest helper method, as demonstrated by the authenticate_or_request_with_http_digest method.

= 3.0.0, = 3.0.1, = 3.0.13, = 3.0.12, = 3.0.3, = 3.0.6, = 3.0.2, = 3.0.11, = 3.0.4, = 3.0.7, = 3.0.10, = 3.0.5, = 3.0.8, = 3.0.9, = 3.1.0, = 3.1.5, = 3.1.1, = 3.1.4, = 3.1.2, = 3.1.3, = 3.2.0, = 3.2.1, = 3.2.5, = 3.2.2, = 3.2.3, = 3.2.47.5 HIGH

The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage improper handling of nested hashes, a related issue to CVE-2012-2661.

= 3.0.0, = 3.0.1, = 3.0.12, = 3.0.4, = 3.0.7, = 3.0.13, = 3.0.2, = 3.0.3, = 3.0.6, = 3.0.11, = 3.0.10, = 3.0.5, = 3.0.9, = 3.0.8, = 3.1.0, = 3.1.2, = 3.1.4, = 3.1.5, = 3.1.1, = 3.1.3, = 3.2.0, = 3.2.1, = 3.2.5, = 3.2.2, = 3.2.3, = 3.2.44.3 MEDIUM

actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "['xyz', nil]" values, a related issue to CVE-2012-2660.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.5, = 3.0.12, = 3.0.6, = 3.0.11, = 3.0.7, = 3.0.4, = 3.0.13, = 3.0.10, = 3.0.3, = 3.0.8, = 3.0.9, = 3.1.0, = 3.1.2, = 3.1.5, = 3.1.4, = 3.1.1, = 3.1.3, = 3.2.0, = 3.2.1, = 3.2.2, = 3.2.3, = 3.2.45 MEDIUM

The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage unintended recursion, a related issue to CVE-2012-2695.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.6, = 3.0.12, = 3.0.5, = 3.0.11, = 3.0.7, = 3.0.13, = 3.0.4, = 3.0.3, = 3.0.10, = 3.0.8, = 3.0.9, = 3.1.0, = 3.1.1, = 3.1.2, = 3.1.4, = 3.1.5, = 3.1.3, = 3.2.0, = 3.2.1, = 3.2.2, = 3.2.3, = 3.2.46.4 MEDIUM

actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2694.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.6, = 3.0.7, = 3.0.4, = 3.0.10, = 3.0.8, = 3.0.5, = 3.0.12, = 3.0.3, = 3.0.11, = 3.0.9, = 3.1.0, = 3.1.1, = 3.1.2, = 3.1.3, = 3.1.4, = 3.2.0, = 3.2.1, = 3.2.24.3 MEDIUM

Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_options_helper.rb in the select helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving certain generation of OPTION elements within SELECT elements.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.6, = 3.0.7, = 3.0.3, = 3.0.11, = 3.0.4, = 3.0.10, = 3.0.8, = 3.0.5, = 3.0.12, = 3.0.9, = 3.1.0, = 3.1.1, = 3.1.2, = 3.1.3, = 3.1.4, = 3.2.0, = 3.2.1, = 3.2.24.3 MEDIUM

Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.6, = 3.0.8, = 3.0.7, = 3.0.3, = 3.0.5, = 3.0.4, = 3.0.10, = 3.0.9, = 3.1.0, = 3.1.1, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 2.3.11, = 2.3.124.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the i18n translations helper method in Ruby on Rails 3.0.x before 3.0.11 and 3.1.x before 3.1.2, and the rails_xss plugin in Ruby on Rails 2.3.x, allows remote attackers to inject arbitrary web script or HTML via vectors related to a translations string whose name ends with an "html" substring.

= 3.0.54.3 MEDIUM

The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.

= 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 2.3.10, = 2.3.11, = 2.3.124.3 MEDIUM

CRLF injection vulnerability in actionpack/lib/action_controller/response.rb in Ruby on Rails 2.3.x before 2.3.13 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the Content-Type header.

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 3.0.1, = 2.2.2, = 2.3.9, = 3.0.0, = 2.3.11, = 2.0.0, = 2.3.3, = 2.3.12, = 2.3.10, = 2.3.2, = 2.3.4, = 3.0.8, = 3.0.6, = 3.0.9, = 3.0.2, = 3.0.3, = 3.1.0, = 3.0.7, = 3.0.4, = 3.0.5, = 3.0.104.3 MEDIUM

Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails 2.x before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a malformed Unicode string, related to a "UTF-8 escaping vulnerability."

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.0.0, = 2.3.2, = 3.0.0, = 2.3.12, = 2.2.2, = 2.3.10, = 2.3.9, = 2.3.4, = 2.3.11, = 2.3.3, = 3.0.1, = 3.0.8, = 3.0.4, = 3.0.9, = 3.0.2, = 3.1.0, = 3.0.6, = 3.0.7, = 3.0.10, = 3.0.5, = 3.0.34.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a tag with an invalid name.

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.3.10, = 2.0.0, = 2.3.4, = 3.0.0, = 2.3.11, = 2.3.12, = 2.3.3, = 2.3.2, = 3.0.1, = 2.2.2, = 2.3.9, = 3.0.5, = 3.0.7, = 3.0.2, = 3.0.9, = 3.0.10, = 3.1.0, = 3.0.4, = 3.0.8, = 3.0.6, = 3.0.37.5 HIGH

Multiple SQL injection vulnerabilities in the quote_table_name method in the ActiveRecord adapters in activerecord/lib/active_record/connection_adapters/ in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allow remote attackers to execute arbitrary SQL commands via a crafted column name.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.8, = 3.0.4, = 3.0.6, = 3.0.7, = 3.0.10, = 3.0.5, = 3.0.3, = 3.0.9, = 3.1.05 MEDIUM

The template selection functionality in actionpack/lib/action_view/template/resolver.rb in Ruby on Rails 3.0.x before 3.0.10 and 3.1.x before 3.1.0.rc6 does not properly handle glob characters, which allows remote attackers to render arbitrary views via a crafted URL, related to a "filter skipping vulnerability."

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.2.2, = 2.3.9, = 2.3.11, = 2.0.0, = 2.3.3, = 2.3.2, = 2.3.10, = 2.3.4, = 3.0.0, = 3.0.1, = 3.0.2, = 3.0.5, = 3.0.6, = 3.0.7, = 3.0.8, = 3.0.3, = 3.0.4, = 3.1.04.3 MEDIUM

The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.3, = 3.0.47.5 HIGH

actionpack/lib/action_view/template/resolver.rb in Ruby on Rails 3.0.x before 3.0.4, when a case-insensitive filesystem is used, does not properly implement filters associated with the list of available templates, which allows remote attackers to bypass intended access restrictions via an action name that uses an unintended case for alphabetic characters.

= 3.0.0, = 3.0.1, = 3.0.2, = 3.0.3, = 3.0.47.5 HIGH

Ruby on Rails 3.0.x before 3.0.4 does not ensure that arguments to the limit function specify integer values, which makes it easier for remote attackers to conduct SQL injection attacks via a non-numeric argument.

= 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.2.2, = 2.3.2, = 2.3.3, = 2.3.4, = 2.3.9, = 3.0.0, = 3.0.1, = 3.0.2, = 3.0.3, = 3.0.4, = 2.3.106.8 MEDIUM

Ruby on Rails 2.1.x, 2.2.x, and 2.3.x before 2.3.11, and 3.x before 3.0.4, does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged (1) AJAX or (2) API requests that leverage "combinations of browser plugins and HTTP redirects," a related issue to CVE-2011-0696.

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.2.2, = 2.3.10, = 2.0.0, = 2.3.4, = 3.0.0, = 3.0.1, = 3.0.2, = 2.3.3, = 2.3.2, = 2.3.9, = 3.0.3, = 3.0.44.3 MEDIUM

Multiple cross-site scripting (XSS) vulnerabilities in the mail_to helper in Ruby on Rails before 2.3.11, and 3.x before 3.0.4, when javascript encoding is used, allow remote attackers to inject arbitrary web script or HTML via a crafted (1) name or (2) email value.

= 2.3.9, = 3.0.06.4 MEDIUM

Ruby on Rails 2.3.9 and 3.0.0 does not properly handle nested attributes, which allows remote attackers to modify arbitrary records by changing the names of parameters for form inputs.

= 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.16.8 MEDIUM

Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.

= 2.3.2, = 2.3.3, = 2.3.4, = 1.2.4, = 0.13.0, = 0.14.1, = 0.11.0, = 0.12.0, = 0.9.2, = 0.9.3, = 0.9.4, = 0.9.4.1, = 0.13.1, = 0.14.2, = 0.10.0, = 0.9.1, = 0.11.1, = 0.12.1, = 0.10.1, = 1.9.5, = 1.2.5, = 1.1.5, = 1.1.3, = 2.1.1, = 2.0.4, = 2.0.0, = 2.0.1, = 1.1.2, = 1.1.1, = 1.1.0, = 1.0.0, = 1.2.3, = 1.2.2, = 1.2.1, = 1.2.0, = 0.14.4, = 0.14.3, = 2.1.0, = 2.0.2, = 1.2.6, = 1.1.6, = 1.1.44.3 MEDIUM

Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.

= 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.2.2, = 2.3.2, = 2.3.35 MEDIUM

A certain algorithm in Ruby on Rails 2.1.0 through 2.2.2, and 2.3.x before 2.3.4, leaks information about the complexity of message-digest signature verification in the cookie store, which might allow remote attackers to forge a digest via multiple attempts.

= 2.0.1, = 2.0.2, = 2.0.4, = 2.1.0, = 2.1.1, = 2.1.2, = 2.2.0, = 2.2.1, = 2.2.2, = 2.0.0, = 2.3.2, = 2.3.34.3 MEDIUM

Cross-site scripting (XSS) vulnerability in Ruby on Rails 2.x before 2.2.3, and 2.3.x before 2.3.4, allows remote attackers to inject arbitrary web script or HTML by placing malformed Unicode strings into a form helper.