Skip to content

← Public intelligence

RubyGems package

actionpack

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

61 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedRubyGemsPublished

    actionpack allows bypass of database-query restrictions

    CVE-2013-6417 · GHSA-wpw7-wxjm-cw8r

    Affected
    • RubyGems actionpack >= 3.0.0, < 3.2.16; >= 4.0.0, < 4.0.2
    Fixed in
    4.0.23.2.16· Vendor fix available
    Issue
    actionpack/lib/actiondispatch/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.

    Recommended action: Upgrade to 4.0.2 or 3.2.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. UnratedRubyGemsPublished

    actionpack vulnerable to Cross-site Scripting

    CVE-2013-6415 · GHSA-6h5q-96hp-9jgm

    Affected
    • RubyGems actionpack >= 3.0.0, < 3.2.16; >= 4.0.0, < 4.0.2
    Fixed in
    4.0.23.2.16· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in the numbertocurrency helper in actionpack/lib/actionview/helpers/numberhelper.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.

    Recommended action: Upgrade to 4.0.2 or 3.2.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. UnratedRubyGemsPublished

    Rails vulnerable to Cross-site Scripting

    CVE-2014-0081 · GHSA-m46p-ggm5-5j83

    Affected
    • RubyGems actionpack >= 3.0.0, < 3.2.17; >= 4.0.0, < 4.0.3
    Fixed in
    3.2.174.0.3· Vendor fix available
    Issue
    There is an XSS vulnerability in the numbertocurrency, numbertopercentage and numbertohuman helpers in Ruby on Rails. This vulnerability has been assigned the CVE identifier CVE-2014-0081. Versions Affected: All. Fixed Versions: 4.1.0.beta2, 4.0.3, 3.2.17. Impact ------ These helpers allows users to nicely format a numeric value. Some of the parameters to the helper (format, negativeformat and units) are not escaped correctly. Applications which pass user controlled data as one of these parameters are vulnerable to an XSS attack. All users passing user controlled data to these parameters of the number helpers should either upgrade or use one of the workarounds immediately. Releases -------- The 4.1.0.rc1, 4.0.3 and 3.2.17 releases are available at the normal locations. Workarounds ----------- The workaround for this issue is to escape the value passed to the parameter. For example, replace code like this: With code like this Patches ------- To aid users who aren't able to upgrade…

    Recommended action: Upgrade to 4.0.3 or 3.2.17 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. UnratedRubyGemsPublished

    Directory traversal vulnerability in actionpack

    CVE-2014-7829 · GHSA-h56m-vwxc-3qpw

    Affected
    • RubyGems actionpack >= 3.0.0, < 3.2.21; >= 4.0.0, < 4.0.12; >= 4.1.0, < 4.1.8; >= 4.2.0.beta1, < 4.2.0.beta4
    Fixed in
    3.2.214.1.84.2.0.beta44.0.12· Vendor fix available
    Issue
    Directory traversal vulnerability in actionpack/lib/actiondispatch/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 servestaticassets 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.

    Recommended action: Upgrade to 4.2.0.beta4, 4.1.8, 4.0.12 or 3.2.21 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.5RubyGemsPublished

    actionpack is vulnerable to denial of service because of a wildcard controller route

    CVE-2015-7581 · GHSA-9h6g-gp95-x3q5

    Affected
    • RubyGems actionpack >= 4.0.0, <= 4.2.5.0
    Fixed in
    4.2.5.1· Vendor fix available
    Issue
    actionpack/lib/actiondispatch/routing/routeset.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.

    Recommended action: Upgrade to 4.2.5.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. UnratedRubyGemsPublished

    actionpack vulnerable to Path Traversal

    CVE-2014-7818 · GHSA-29gr-w57f-rpfw

    Affected
    • RubyGems actionpack >= 3.0.0, < 3.2.20; >= 4.0.0, < 4.0.11; >= 4.1.0, < 4.1.7; >= 4.2.0.beta1, < 4.2.0.beta3
    Fixed in
    3.2.204.2.0.beta34.0.114.1.7· Vendor fix available
    Issue
    Directory traversal vulnerability in actionpack/lib/actiondispatch/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 servestaticassets is enabled, allows remote attackers to determine the existence of files outside the application root via a /..%2F sequence.

    Recommended action: Upgrade to 4.2.0.beta3, 4.1.7, 4.0.11 or 3.2.20 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. UnratedRubyGemsPublished

    actionpack Cross-site Scripting vulnerability

    CVE-2013-6416 · GHSA-w37c-q653-qg95

    Affected
    • RubyGems actionpack >= 4.0.0, < 4.0.2
    Fixed in
    4.0.2· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in the simpleformat helper in actionpack/lib/actionview/helpers/texthelper.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.

    Recommended action: Upgrade to 4.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Medium, CVSS 5.3RubyGemsPublished

    actionview contains Path Traversal vulnerability

    CVE-2016-2097 · GHSA-vx9j-46rh-fqr8

    Affected
    • RubyGems actionpack >= 3.0.0, <= 3.2.22.1; >= 4.0.0, <= 4.1.14.1
    Fixed in
    3.2.22.24.1.14.2· Vendor fix available
    Issue
    There is a possible directory traversal and information leak vulnerability in Action View. This was meant to be fixed on CVE-2016-0752. However the 3.2 patch was not covering all possible scenarios. This vulnerability has been assigned the CVE identifier CVE-2016-2097. Versions Affected: 3.2.x, 4.0.x, 4.1.x Not affected: 4.2+ Fixed Versions: 3.2.22.2, 4.1.14.2 Impact ------ Applications that pass unverified user input to the render method in a controller may be vulnerable to an information leak vulnerability. Impacted code will look something like this: Carefully crafted requests can cause the above code to render files from unexpected places like outside the application's view directory, and can possibly escalate this to a remote code execution attack. 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 ----------- A workaround to this issue is…

    Recommended action: Upgrade to 4.1.14.2 or 3.2.22.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. High, CVSS 7.3RubyGemsPublished

    actionpack allows remote code execution via application's unrestricted use of render method

    CVE-2016-2098 · GHSA-78rc-8c29-p45g

    Affected
    • RubyGems actionpack >= 3.0.0, <= 3.2.22.1; >= 4.0.0, <= 4.1.14.1; >= 4.2.0, <= 4.2.5.1
    Fixed in
    3.2.22.24.2.5.24.1.14.2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 4.2.5.2, 4.1.14.2 or 3.2.22.2 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. High, CVSS 7.5RubyGemsPublished

    actionpack is vulnerable to denial of service via a crafted HTTP Accept header

    CVE-2016-0751 · GHSA-ffpv-c4hm-3x6v

    Affected
    • RubyGems actionpack >= 4.2.0, <= 4.2.5.0; <= 3.2.22.0; >= 4.0.0, <= 4.1.14.0
    Fixed in
    3.2.22.14.1.14.14.2.5.1· Vendor fix available
    Issue
    actionpack/lib/actiondispatch/http/mimetype.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.

    Recommended action: Upgrade to 4.2.5.1, 4.1.14.1 or 3.2.22.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. High, CVSS 7.5Exploited · CISA KEVRubyGemsPublished

    Directory traversal vulnerability in Action View in Ruby on Rails

    CVE-2016-0752 · GHSA-xrr4-p6fq-hjg7

    Affected
    • RubyGems actionpack >= 4.0.0, <= 4.1.14.0; >= 4.2.0, <= 4.2.5.0; < 3.2.22.1
    Fixed in
    3.2.22.14.1.14.14.2.5.1· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 4.2.5.1, 4.1.14.1 or 3.2.22.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)cisa.gov (2)Source checked Evidence →