GHSA-m53f-rhq8-q6hf: Actionpack Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-m53f-rhq8-q6hf 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.22.1, 4.1.14.1, 4.2.5.1.
GHSA-m53f-rhq8-q6hf at a Glance
How to Fix GHSA-m53f-rhq8-q6hf
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.
Upgrade actionpack to 3.2.22.1
Upgrade actionpack to 4.1.14.1
Upgrade actionpack to 4.2.5.1
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-m53f-rhq8-q6hf, 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.1), 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
GHSA-m53f-rhq8-q6hf Affected Actionpack Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
actionpack
|
RubyGems |
< 3.2.22.1
|
3.2.22.1
|
|
actionpack
|
RubyGems |
≥ 4.0.0
< 4.1.14.1
|
4.1.14.1
|
|
actionpack
|
RubyGems |
≥ 4.2.0
< 4.2.5.1
|
4.2.5.1
|
References
Frequently Asked Questions
What is GHSA-m53f-rhq8-q6hf?
Which Actionpack versions are affected?
What version fixes GHSA-m53f-rhq8-q6hf?
Is actionpack affected?
What CWE is associated with GHSA-m53f-rhq8-q6hf?
How can I check RubyGems dependencies for GHSA-m53f-rhq8-q6hf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m53f-rhq8-q6hf",
"modified" : "2021-12-03T14:21:39Z",
"published" : "2018-09-17T21:55:03Z",
"withdrawn" : "2020-06-17T15:14:56Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects actionpack",
"details" : "Withdrawn, accidental duplicate publish.\n\nactionpack/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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionpack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.22.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.2.22.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionpack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.14.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.14.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionpack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.5.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.5.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0751"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-m53f-rhq8-q6hf"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-17T15:14:56Z",
"nvd_published_at" : null
}
}