Vulnerability identifier: #VU84379
Vulnerability risk: Low
CVSSv4.0: 1.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2023-49797
CWE-ID:
CWE-379
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
pyinstaller
Universal components / Libraries /
Libraries used by multiple products
Vendor: PyInstaller
Description
The vulnerability allows a local user to delete arbitrary files on the system.
The vulnerability exists due to matplotlib and win32com applications use a temporary directory with insecure permissions. A local user can create symbolic links to critical files on the system and delete these files.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
pyinstaller: 1.0 - 5.13.0
External links
https://github.com/pyinstaller/pyinstaller/security/advisories/GHSA-9w2p-rh8c-v9g5
https://github.com/pyinstaller/pyinstaller/pull/7827
https://github.com/python/cpython/blob/0fb18b02c8ad56299d6a2910be0bab8ad601ef24/Lib/shutil.py#L623
https://www.zerodayinitiative.com/advisories/ZDI-24-1641/
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.