GHSA-qf5x-qgx7-437h: Actionpack Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-qf5x-qgx7-437h is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Actionpack libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects actionpack. Remediation is available by upgrading affected packages to version 3.2.18, 4.0.5, 4.1.1.

GHSA-qf5x-qgx7-437h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qf5x-qgx7-437h
Severity MODERATE
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-qf5x-qgx7-437h

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.18
Upgrade actionpack to 3.2.18
actionpack fixed: 4.0.5
Upgrade actionpack to 4.0.5
actionpack fixed: 4.1.1
Upgrade actionpack to 4.1.1
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-qf5x-qgx7-437h, 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.18), 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. 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.

GHSA-qf5x-qgx7-437h Affected Actionpack Versions

3 component(s)
Fixed Versions:
3.2.184.0.54.1.1
Product / Package Ecosystem Affected Versions Fixed Version
actionpack
RubyGems
< 3.2.18
3.2.18
actionpack
RubyGems
≥ 4.0.0
< 4.0.5
4.0.5
actionpack
RubyGems
≥ 4.1.0
< 4.1.1
All 1 versions
4.1.0
4.1.1

References

Frequently Asked Questions

What is GHSA-qf5x-qgx7-437h?
GHSA-qf5x-qgx7-437h is a security vulnerability in Actionpack involving Moderate severity vulnerability that affects actionpack under General Security Weakness.
Which Actionpack versions are affected?
Affected versions include releases prior to 3.2.18, 4.0.5, 4.1.1 across affected packages: actionpack.
What version fixes GHSA-qf5x-qgx7-437h?
Upgrading to 3.2.18, 4.0.5, 4.1.1 (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.18, 4.0.5, 4.1.1. Upgrade your dependency to 3.2.18, 4.0.5, 4.1.1 or later.
What CWE is associated with GHSA-qf5x-qgx7-437h?
GHSA-qf5x-qgx7-437h is classified under General Security Weakness.
How can I check RubyGems dependencies for GHSA-qf5x-qgx7-437h?
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-qf5x-qgx7-437h",
  "modified" : "2020-06-17T15:15:04Z",
  "published" : "2018-09-17T21:54:11Z",
  "withdrawn" : "2020-06-17T15:15:04Z",
  "aliases" : [ ],
  "summary" : "Moderate severity vulnerability that affects actionpack",
  "details" : "Withdrawn, accidental duplicate publish.\n\nDirectory 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.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.2.18"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0"
      }, {
        "fixed" : "4.1.1"
      } ]
    } ],
    "versions" : [ "4.1.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0130"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-qf5x-qgx7-437h"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-17T15:15:04Z",
    "nvd_published_at" : null
  }
}