Vulnerability in Pyinstaller
CVE-2019-16784
- CVSS v3
- 7.0 High
- Public exploits
- 2 repositories
- EPSS
- 0.007 · 53.5th percentile
- Published
- 2020-01-14
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Pyinstaller — versions < 3.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- AlterSolutions/PyInstallerPrivEsc (1 star, last pushed 2023-10-13): Exploit for PyInstaller CVE-2019-16784
- Ckrielle/CVE-2019-16784-POC (last pushed 2023-12-24): A Proof of Concept exploit for the PyInstaller CVE-2019-16783
Also mentioned in 3 other repositories (0xT11/CVE-POC, developer3000S/PoC-in-GitHub, hectorgie/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/pyinstaller/pyinstaller/security/advisories/GHSA-7fcj-pq9j-wh2r (Patch, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.