Insecure link following in tar-fs package for Node.js



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-12905
CWE-ID CWE-59
Exploitation vector Network
Public exploit N/A
Vulnerable software
tar-fs
Web applications / JS libraries

Vendor mafintosh

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Link following

EUVDB-ID: #VU106282

Risk: High

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2024-12905

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insecure link following in index.js. A remote attacker can supply a specially crafted file to the application and overwrite arbitrary files on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

tar-fs: 0.1.0 - 3.0.7

CPE2.3 External links

https://github.com/mafintosh/tar-fs/commit/a1dd7e7c7f4b4a8bd2ab60f513baca573b44e2ed


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###