fstream before 1.0.12 is 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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:fstream_project:fstream:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.12"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "6a77d2fa6e1462693cf8e46f930da96ec1b0bb22"
}
],
"source": "REFERENCES_COMMIT"
}
]
}