{ "schema_version": "1.4.0", "id": "GHSA-x2mc-8fgj-3wmr", "modified": "2021-08-03T21:27:51Z", "published": "2019-05-01T18:37:18Z", "aliases": [ "CVE-2018-20835" ], "summary": "Improper Input Validation in tar-fs", "details": "A vulnerability was found in tar-fs before 1.16.2. An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "tar-fs" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.16.2" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20835" }, { "type": "WEB", "url": "https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2" }, { "type": "WEB", "url": "https://hackerone.com/reports/344595" }, { "type": "WEB", "url": "https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f" } ], "database_specific": { "cwe_ids": [ "CWE-20" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2019-05-01T18:25:25Z", "nvd_published_at": "2019-04-30T19:29:00Z" } }