GHSA-hx46-vwmx-wx95: Actionpack High Severity Vulnerability That Affects Vulnerability

HIGH
Published
Advisory Summary

GHSA-hx46-vwmx-wx95 is a HIGH high severity vulnerability that affects vulnerability (General Security Weakness) affecting Actionpack libraries in the RubyGems ecosystem. The issue involves high severity vulnerability that affects actionpack. Remediation is available by upgrading affected packages to version 3.2.22.2, 4.1.14.2, 4.2.5.2.

GHSA-hx46-vwmx-wx95 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hx46-vwmx-wx95
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Actionpack
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix GHSA-hx46-vwmx-wx95

To remediate this vulnerability, upgrade all affected Actionpack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

actionpack fixed: 3.2.22.2
Upgrade actionpack to 3.2.22.2
actionpack fixed: 4.1.14.2
Upgrade actionpack to 4.1.14.2
actionpack fixed: 4.2.5.2
Upgrade actionpack to 4.2.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for actionpack

How to Check if You Are Affected

To determine whether your application is affected by GHSA-hx46-vwmx-wx95, inspect your project dependencies for Actionpack:

inspect dependencies for actionpack

Analyze the terminal output to locate any version of Actionpack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.22.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Actionpack, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Withdrawn, accidental duplicate publish. 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.

GHSA-hx46-vwmx-wx95 Affected Actionpack Versions

3 component(s)
Fixed Versions:
3.2.22.24.1.14.24.2.5.2
Product / Package Ecosystem Affected Versions Fixed Version
actionpack
RubyGems
≥ 3.2.0
< 3.2.22.2
3.2.22.2
actionpack
RubyGems
≥ 4.0.0
< 4.1.14.2
4.1.14.2
actionpack
RubyGems
≥ 4.2.0
< 4.2.5.2
4.2.5.2

References

Frequently Asked Questions

What is GHSA-hx46-vwmx-wx95?
GHSA-hx46-vwmx-wx95 is a security vulnerability in Actionpack involving High severity vulnerability that affects actionpack under General Security Weakness.
Which Actionpack versions are affected?
Affected versions include releases prior to 3.2.22.2, 4.1.14.2, 4.2.5.2 across affected packages: actionpack.
What version fixes GHSA-hx46-vwmx-wx95?
Upgrading to 3.2.22.2, 4.1.14.2, 4.2.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is actionpack affected?
Yes, actionpack is affected in releases prior to 3.2.22.2, 4.1.14.2, 4.2.5.2. Upgrade your dependency to 3.2.22.2, 4.1.14.2, 4.2.5.2 or later.
What CWE is associated with GHSA-hx46-vwmx-wx95?
GHSA-hx46-vwmx-wx95 is classified under General Security Weakness.
How can I check RubyGems dependencies for GHSA-hx46-vwmx-wx95?
Run the dependency tree command: 'inspect dependencies for actionpack'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hx46-vwmx-wx95",
  "modified" : "2021-12-02T23:14:01Z",
  "published" : "2018-08-13T20:48:25Z",
  "withdrawn" : "2020-06-17T15:14:51Z",
  "aliases" : [ ],
  "summary" : "High severity vulnerability that affects actionpack",
  "details" : "Withdrawn, accidental duplicate publish.\n\nAction 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.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.0"
      }, {
        "fixed" : "3.2.22.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.2.22.1"
    }
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.14.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.1.14.1"
    }
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.5.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.2.5.1"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-2098"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-hx46-vwmx-wx95"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-17T15:14:51Z",
    "nvd_published_at" : null
  }
}