vendor:
Unzip-Stream
by:
Ardayfio Samuel Nii Aryee
6.1
CVSS
HIGH
Arbitrary File Write
73
CWE
Product Name: Unzip-Stream
Affected Version From: 1.3
Affected Version To: 36586
Patch Exists: NO
Related CWE: CVE-2024-42471
CPE: unzip-stream:0.3.1
Platforms Tested: Ubuntu
2024
Unzip-Stream 0.3.1 Arbitrary File Write
The unzip-stream version 0.3.1 allows an attacker to write arbitrary files by manipulating the 'arcname' parameter, circumventing restrictions in Python's 'zipfile' module. By crafting a malicious ZIP file, an attacker can overwrite files on the target system. This vulnerability has been assigned CVE-2024-42471.
Mitigation:
To mitigate this issue, users should avoid untrusted ZIP files and ensure that file permissions are correctly set to prevent unauthorized write operations. Additionally, monitoring file write activities can help detect potential exploitation.