原始 OSV JSON{
"id": "GHSA-xf7w-r453-m56c",
"aliases": [
"CVE-2019-13173"
],
"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.",
"summary": "Arbitrary File Overwrite in fstream",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.12"
}
]
}
],
"package": {
"name": "fstream",
"ecosystem": "npm"
}
}
],
"modified": "2021-08-04T20:12:16Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"published": "2019-05-30T17:19:34Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13173",
"type": "ADVISORY"
},
{
"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",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-59"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2019-05-30T17:17:33Z"
}
}