Ubuntu update for npm/fstream



Published: 2019-09-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-13173
CWE-ID CWE-62
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
node-fstream (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) UNIX hard link

EUVDB-ID: #VU20065

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-13173

CWE-ID: CWE-62 - UNIX Hard Link

Exploit availability: No

Description

The vulnerability allows a remote attacker to overwrite files on the system.

The vulnerability exists due to insufficient validation of files within archives in fstream.DirWriter() function. A remote attacker can create a tarball containing a hardlink to a file that already exists in the system and overwrite arbitrary files on the system.

Successful exploitation of the vulnerability may allow remote code execution but requires the ability to pass specially crafted tarballs to the application.

Mitigation

Update the affected packages.

Ubuntu 19.04
node-fstream - 1.0.10-1ubuntu0.19.04.2
Ubuntu 18.04 LTS
node-fstream - 1.0.10-1ubuntu0.18.04.1

Vulnerable software versions

node-fstream (Ubuntu package): 0.1.13-1 - 1.0.12-2

External links

http://usn.ubuntu.com/4123-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###