Local Privilege Escalation present only on the Windows version of PyInstaller
Description
In PyInstaller before version 3.6, only on Windows, a local privilege escalation vulnerability is present in this particular case: If a software using PyInstaller in "onefile" mode is launched by a privileged user (at least more than the current one) which have his "TempPath" resolving to a world writable directory. This is the case for example if the software is launched as a service or as a scheduled task using a system account (TempPath will be C:\Windows\Temp). In order to be exploitable the software has to be (re)started after the attacker launch the exploit program, so for a service launched at startup, a service restart is needed (e.g. after a crash or an upgrade).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
PyInstallerPyPI | < 3.6 | 3.6 |
Affected products
2- Range: < 3.6
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7fcj-pq9j-wh2rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-16784ghsaADVISORY
- github.com/pyinstaller/pyinstaller/commit/42a67148b3bdf9211fda8499fdc5b63acdd7e6ccghsaWEB
- github.com/pyinstaller/pyinstaller/commit/be948cf0954707671aa499da17b10c86b6fa5e5cghsaWEB
- github.com/pyinstaller/pyinstaller/security/advisories/GHSA-7fcj-pq9j-wh2rghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/pyinstaller/PYSEC-2020-175.yamlghsaWEB
News mentions
0No linked articles in our index yet.