ADVISORIES

openEuler Security Advisory

OESA-2022-2084

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

EcosystemPackageAffected versions
openEuler:22.03-LTSnodejs-fstream
All versions before 1.0.12-1.oe2203 (fixed in 1.0.12-1.oe2203)

References