Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2019-13173

Publication date 2 July 2019

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

From the Ubuntu Security Team

It was discovered that npm/fstream incorrectly handled certain crafted tarballs. An attacker could use this vulnerability to write aritrary files to the filesystem.

Read the notes from the security team

Status

Package Ubuntu Release Status
node-fstream 22.04 LTS jammy
Fixed 1.0.12-1
21.10 impish
Fixed 1.0.12-1
21.04 hirsute
Fixed 1.0.12-1
20.10 groovy
Fixed 1.0.12-1
20.04 LTS focal
Fixed 1.0.12-1
19.10 eoan
Fixed 1.0.12-1
19.04 disco
Fixed 1.0.10-1ubuntu0.19.04.2
18.10 cosmic Ignored end of life
18.04 LTS bionic
Fixed 1.0.10-1ubuntu0.18.04.1
16.04 LTS xenial
14.04 LTS trusty

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


ebarretto

According to a Github comment, the fix might not be enough.

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact None
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-4123-1
    • npm/fstream vulnerability
    • 5 September 2019

Other references