{ "schema_version": "1.4.0", "id": "GHSA-xf7w-r453-m56c", "modified": "2021-08-04T20:12:16Z", "published": "2019-05-30T17:19:34Z", "aliases": [ "CVE-2019-13173" ], "summary": "Arbitrary File Overwrite in fstream", "details": "Versions of `fstream` prior to 1.0.12 are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system and a file that matches the hardlink will overwrite the system's file with the contents of the extracted file. The `fstream.DirWriter()` function is vulnerable.\n\n\n## Recommendation\n\nUpgrade to version 1.0.12 or later.", "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": "fstream" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.0.12" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13173" }, { "type": "WEB", "url": "https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22" }, { "type": "WEB", "url": "https://usn.ubuntu.com/4123-1" }, { "type": "WEB", "url": "https://www.npmjs.com/advisories/886" }, { "type": "WEB", "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html" }, { "type": "WEB", "url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html" } ], "database_specific": { "cwe_ids": [ "CWE-59" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2019-05-30T17:17:33Z", "nvd_published_at": null } }