openEuler Security Advisory
OESA-2022-1584
nodejs-fstream security update
Details
Provides advanced file system stream objects for Node.js. These objects are like FS streams, but with stat on them, and support directories and symbolic links, as well as normal files. Also, you can use them to set the stats on a file, even if you don't change its contents, or to create a symlink, etc.
Security Fix(es):
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.(CVE-2019-13173)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | nodejs-fstream | All versions before 1.0.12-1.oe1 (fixed in 1.0.12-1.oe1) |
| openEuler:20.03-LTS-SP2 | nodejs-fstream | All versions before 1.0.12-1.oe1 (fixed in 1.0.12-1.oe1) |
| openEuler:20.03-LTS-SP3 | nodejs-fstream | All versions before 1.0.12-1.oe1 (fixed in 1.0.12-1.oe1) |