GHSA-cwp3-834g-x79g: Minitar Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-cwp3-834g-x79g
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Minitar
Package Ecosystem RubyGems
Published Date
Last Updated

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.

minitar fixed: 0.6
Upgrade minitar to 0.6
archive-tar-minitar fixed: 0.6
Upgrade archive-tar-minitar to 0.6
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 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

Withdrawn, accidental duplicate publish. Directory 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.

GHSA-cwp3-834g-x79g Affected Minitar Versions

2 component(s)
Fixed Versions:
0.6
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?
GHSA-cwp3-834g-x79g is a security vulnerability in Minitar involving Moderate severity vulnerability that affects archive-tar-minitar and minitar under General Security Weakness.
Which Minitar versions are affected?
Affected versions include releases prior to 0.6 across affected packages: minitar, archive-tar-minitar.
What version fixes GHSA-cwp3-834g-x79g?
Upgrading to 0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is minitar affected?
Yes, minitar is affected in releases prior to 0.6. Upgrade your dependency to 0.6 or later.
Is archive-tar-minitar affected?
Yes, archive-tar-minitar is affected in releases prior to 0.6. Upgrade your dependency to 0.6 or later.
What CWE is associated with GHSA-cwp3-834g-x79g?
GHSA-cwp3-834g-x79g is classified under General Security Weakness.
How can I check RubyGems dependencies for GHSA-cwp3-834g-x79g?
Run the dependency tree command: 'inspect dependencies for minitar'. 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-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
  }
}