GHSA-9vc2-p34x-jhxh: Rack Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-9vc2-p34x-jhxh is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Rack libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects rack. Remediation is available by upgrading affected packages to version 1.4.6, 1.5.4, 1.6.2.

GHSA-9vc2-p34x-jhxh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9vc2-p34x-jhxh
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Rack
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix GHSA-9vc2-p34x-jhxh

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

rack fixed: 1.4.6
Upgrade rack to 1.4.6
rack fixed: 1.5.4
Upgrade rack to 1.5.4
rack fixed: 1.6.2
Upgrade rack to 1.6.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 rack

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9vc2-p34x-jhxh, inspect your project dependencies for Rack:

inspect dependencies for rack

Analyze the terminal output to locate any version of Rack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.6), 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 Rack, 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. lib/rack/utils.rb in Rack before 1.5.4 and 1.6.x before 1.6.2, as used with Ruby on Rails 3.x and 4.x and other products, allows remote attackers to cause a denial of service (SystemStackError) via a request with a large parameter depth.

GHSA-9vc2-p34x-jhxh Affected Rack Versions

3 component(s)
Fixed Versions:
1.4.61.5.41.6.2
Product / Package Ecosystem Affected Versions Fixed Version
rack
RubyGems
< 1.4.6
1.4.6
rack
RubyGems
≥ 1.5.0
< 1.5.4
1.5.4
rack
RubyGems
≥ 1.6.0
< 1.6.2
1.6.2

References

Frequently Asked Questions

What is GHSA-9vc2-p34x-jhxh?
GHSA-9vc2-p34x-jhxh is a security vulnerability in Rack involving Moderate severity vulnerability that affects rack under General Security Weakness.
Which Rack versions are affected?
Affected versions include releases prior to 1.4.6, 1.5.4, 1.6.2 across affected packages: rack.
What version fixes GHSA-9vc2-p34x-jhxh?
Upgrading to 1.4.6, 1.5.4, 1.6.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rack affected?
Yes, rack is affected in releases prior to 1.4.6, 1.5.4, 1.6.2. Upgrade your dependency to 1.4.6, 1.5.4, 1.6.2 or later.
What CWE is associated with GHSA-9vc2-p34x-jhxh?
GHSA-9vc2-p34x-jhxh is classified under General Security Weakness.
How can I check RubyGems dependencies for GHSA-9vc2-p34x-jhxh?
Run the dependency tree command: 'inspect dependencies for rack'. 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-9vc2-p34x-jhxh",
  "modified" : "2020-06-16T21:54:47Z",
  "published" : "2018-09-17T21:56:30Z",
  "withdrawn" : "2020-06-16T21:29:41Z",
  "aliases" : [ ],
  "summary" : "Moderate severity vulnerability that affects rack",
  "details" : "Withdrawn, accidental duplicate publish.\n\nlib/rack/utils.rb in Rack before 1.5.4 and 1.6.x before 1.6.2, as used with Ruby on Rails 3.x and 4.x and other products, allows remote attackers to cause a denial of service (SystemStackError) via a request with a large parameter depth.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "rack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "rack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.5.0"
      }, {
        "fixed" : "1.5.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "rack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.0"
      }, {
        "fixed" : "1.6.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3225"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-9vc2-p34x-jhxh"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:29:41Z",
    "nvd_published_at" : null
  }
}