GHSA-2pwf-xwr3-hp55: Actionview Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-2pwf-xwr3-hp55 is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Actionview libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects actionview. Remediation is available by upgrading affected packages to version 3.2.22.2, 4.1.14.2.
GHSA-2pwf-xwr3-hp55 at a Glance
How to Fix GHSA-2pwf-xwr3-hp55
To remediate this vulnerability, upgrade all affected Actionview 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 actionview to 3.2.22.2
Upgrade actionview to 4.1.14.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for actionview
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2pwf-xwr3-hp55, inspect your project dependencies for Actionview:
inspect dependencies for actionview
Analyze the terminal output to locate any version of Actionview 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 Actionview, 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-2pwf-xwr3-hp55 Affected Actionview Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
actionview
|
RubyGems |
≥ 3.2.0
< 3.2.22.2
|
3.2.22.2
|
|
actionview
|
RubyGems |
≥ 4.0.0
< 4.1.14.2
|
4.1.14.2
|
References
Frequently Asked Questions
What is GHSA-2pwf-xwr3-hp55?
Which Actionview versions are affected?
What version fixes GHSA-2pwf-xwr3-hp55?
Is actionview affected?
What CWE is associated with GHSA-2pwf-xwr3-hp55?
How can I check RubyGems dependencies for GHSA-2pwf-xwr3-hp55?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2pwf-xwr3-hp55",
"modified" : "2021-12-02T23:14:26Z",
"published" : "2018-08-13T20:48:52Z",
"withdrawn" : "2020-06-16T20:52:48Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects actionview",
"details" : "Withdrawn, accidental duplicate publish.\n\nDirectory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "actionview"
},
"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" : "actionview"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.14.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.14.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-2097"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-2pwf-xwr3-hp55"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:52:48Z",
"nvd_published_at" : null
}
}