GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2016-10173

Vulnerability from gsd - Updated: 2016-08-22 00:00
Details
Minitar allows attackers to overwrite arbitrary files during archive extraction via a .. (dot dot) in an extracted filename. Analogous vulnerabilities for unzip and tar: https://www.cvedetails.com/cve/CVE-2001-1268/ and http://www.cvedetails.com/cve/CVE-2001-1267/ Credit: ecneladis
Aliases

{
  "GSD": {
    "alias": "CVE-2016-10173",
    "description": "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.",
    "id": "GSD-2016-10173",
    "references": [
      "https://www.suse.com/security/cve/CVE-2016-10173.html",
      "https://www.debian.org/security/2017/dsa-3778",
      "https://advisories.mageia.org/CVE-2016-10173.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "archive-tar-minitar",
            "purl": "pkg:gem/archive-tar-minitar"
          }
        }
      ],
      "aliases": [
        "CVE-2016-10173",
        "GHSA-h5g2-38x9-4gv3"
      ],
      "details": "Minitar allows attackers to overwrite arbitrary files during archive\nextraction via a .. (dot dot) in an extracted filename. Analogous\nvulnerabilities for unzip and tar:\nhttps://www.cvedetails.com/cve/CVE-2001-1268/ and\nhttp://www.cvedetails.com/cve/CVE-2001-1267/\n\nCredit: ecneladis\n",
      "id": "GSD-2016-10173",
      "modified": "2016-08-22T00:00:00.000Z",
      "published": "2016-08-22T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/atoulme/minitar/issues/5"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 7.5,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Archive-Tar-Minitar Directory Traversal Vulnerability"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2016-10173",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "[oss-security] 20170124 CVE request: rubygem minitar: directory traversal vulnerability",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2017/01/24/7"
          },
          {
            "name": "GLSA-201702-32",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/201702-32"
          },
          {
            "name": "95874",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/95874"
          },
          {
            "name": "https://github.com/halostatue/minitar/issues/16",
            "refsource": "CONFIRM",
            "url": "https://github.com/halostatue/minitar/issues/16"
          },
          {
            "name": "[oss-security] 20170129 Re: CVE request: rubygem minitar: directory traversal vulnerability",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2017/01/29/1"
          },
          {
            "name": "DSA-3778",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2017/dsa-3778"
          },
          {
            "name": "https://puppet.com/security/cve/cve-2016-10173",
            "refsource": "CONFIRM",
            "url": "https://puppet.com/security/cve/cve-2016-10173"
          },
          {
            "name": "https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4",
            "refsource": "CONFIRM",
            "url": "https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2016-10173",
      "cvss_v3": 7.5,
      "date": "2016-08-22",
      "description": "Minitar allows attackers to overwrite arbitrary files during archive\nextraction via a .. (dot dot) in an extracted filename. Analogous\nvulnerabilities for unzip and tar:\nhttps://www.cvedetails.com/cve/CVE-2001-1268/ and\nhttp://www.cvedetails.com/cve/CVE-2001-1267/\n\nCredit: ecneladis\n",
      "gem": "minitar",
      "ghsa": "h5g2-38x9-4gv3",
      "patched_versions": [
        "\u003e= 0.6.0"
      ],
      "related": {
        "url": [
          "https://github.com/halostatue/minitar/issues/16",
          "https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4"
        ]
      },
      "title": "Minitar Directory Traversal Vulnerability",
      "url": "https://github.com/halostatue/minitar/issues/16"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c0.6.0",
          "affected_versions": "All versions before 0.6.0",
          "credit": "ecneladis",
          "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2017-12-08",
          "description": "Minitar allows attackers to overwrite arbitrary files during archive extraction via a `..` in an extracted filename.",
          "fixed_versions": [],
          "identifier": "CVE-2016-10173",
          "identifiers": [
            "CVE-2016-10173"
          ],
          "package_slug": "gem/archive-tar-minitar",
          "pubdate": "2017-02-01",
          "solution": "There is no solution for this vulnerability at the moment.",
          "title": "Directory Traversal Vulnerability",
          "urls": [
            "https://github.com/atoulme/minitar/issues/5"
          ],
          "uuid": "7a4c1b5a-3d99-45d2-8dcf-148726ed8004"
        },
        {
          "affected_range": "\u003c0.6.1",
          "affected_versions": "All versions before 0.6.1",
          "credit": "ecneladis",
          "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2017-12-08",
          "description": "Minitar allows attackers to overwrite arbitrary files during archive extraction via a `..` in an extracted filename.",
          "fixed_versions": [
            "0.6.1"
          ],
          "identifier": "CVE-2016-10173",
          "identifiers": [
            "CVE-2016-10173"
          ],
          "not_impacted": "All versions starting from 0.6.1",
          "package_slug": "gem/minitar",
          "pubdate": "2017-02-01",
          "solution": "Upgrade to version 0.6.1 or above.",
          "title": "Directory Traversal Vulnerability",
          "urls": [
            "https://github.com/halostatue/minitar/issues/16"
          ],
          "uuid": "fe4c1067-6e94-4f88-a35e-9c4234ad2ea6"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:minitar:archive-tar-minitar:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.5.2",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:minitar:minitar:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.5.4",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2016-10173"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-22"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/halostatue/minitar/issues/16",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/halostatue/minitar/issues/16"
            },
            {
              "name": "https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/halostatue/minitar/commit/e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4"
            },
            {
              "name": "95874",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/95874"
            },
            {
              "name": "[oss-security] 20170129 Re: CVE request: rubygem minitar: directory traversal vulnerability",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2017/01/29/1"
            },
            {
              "name": "[oss-security] 20170124 CVE request: rubygem minitar: directory traversal vulnerability",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2017/01/24/7"
            },
            {
              "name": "GLSA-201702-32",
              "refsource": "GENTOO",
              "tags": [],
              "url": "https://security.gentoo.org/glsa/201702-32"
            },
            {
              "name": "DSA-3778",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2017/dsa-3778"
            },
            {
              "name": "https://puppet.com/security/cve/cve-2016-10173",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://puppet.com/security/cve/cve-2016-10173"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": true,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2017-12-09T02:29Z",
      "publishedDate": "2017-02-01T15:59Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…