GHSA-cwp3-834g-x79g: Minitar Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-cwp3-834g-x79g is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Minitar libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects archive-tar-minitar and minitar. Remediation is available by upgrading affected packages to version 0.6.
GHSA-cwp3-834g-x79g at a Glance
How to Fix GHSA-cwp3-834g-x79g
To remediate this vulnerability, upgrade all affected Minitar 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 minitar to 0.6
Upgrade archive-tar-minitar to 0.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for minitar
How to Check if You Are Affected
To determine whether your application is affected by GHSA-cwp3-834g-x79g, inspect your project dependencies for Minitar:
inspect dependencies for minitar
Analyze the terminal output to locate any version of Minitar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.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 Minitar, 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-cwp3-834g-x79g Affected Minitar Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
minitar
|
RubyGems |
< 0.6
|
0.6
|
|
archive-tar-minitar
|
RubyGems |
< 0.6
|
0.6
|
References
Frequently Asked Questions
What is GHSA-cwp3-834g-x79g?
Which Minitar versions are affected?
What version fixes GHSA-cwp3-834g-x79g?
Is minitar affected?
Is archive-tar-minitar affected?
What CWE is associated with GHSA-cwp3-834g-x79g?
How can I check RubyGems dependencies for GHSA-cwp3-834g-x79g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cwp3-834g-x79g",
"modified" : "2020-06-16T21:39:02Z",
"published" : "2018-08-21T17:07:36Z",
"withdrawn" : "2020-06-16T21:33:06Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects archive-tar-minitar and minitar",
"details" : "Withdrawn, accidental duplicate publish.\n\nDirectory traversal vulnerability in the minitar before 0.6 and archive-tar-minitar 0.5.2 gems for Ruby allows remote attackers to write to arbitrary files via a .. (dot dot) in a TAR archive entry.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "minitar"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "archive-tar-minitar"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-10173"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-cwp3-834g-x79g"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:33:06Z",
"nvd_published_at" : null
}
}