GHSA-h5g2-38x9-4gv3

Suggest an improvement
Source
https://github.com/advisories/GHSA-h5g2-38x9-4gv3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-h5g2-38x9-4gv3/GHSA-h5g2-38x9-4gv3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h5g2-38x9-4gv3
Aliases
Published
2017-10-24T18:33:35Z
Modified
2024-02-16T08:04:25.597060Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
archive-tar-minitar and minitar vulnerable to Path Traversal
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:39:02Z"
}
References

Affected packages

RubyGems / archive-tar-minitar

Package

Name
archive-tar-minitar
Purl
pkg:gem/archive-tar-minitar

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.2

Affected versions

0.*

0.5.1

RubyGems / minitar

Package

Name
minitar
Purl
pkg:gem/minitar

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6

Affected versions

0.*

0.5.3
0.5.4