Description
A vulnerability was found in tar-fs before 1.16.2. An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content.
Remediation
References
https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2
https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f
https://hackerone.com/reports/344595
Related Vulnerabilities
CVE-2014-9635 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2016-0779 Vulnerability in maven package org.apache.tomee:arquillian-tomee-embedded
CVE-2021-33360 Vulnerability in npm package @stoqey/gnuplot
CVE-2023-33201 Vulnerability in maven package org.bouncycastle:bcprov-ext-jdk15to18
CVE-2022-43405 Vulnerability in maven package io.jenkins.plugins:pipeline-groovy-lib