Advisory

PYSEC-2020-175

Also known as: CVE-2019-16784, GHSA-7fcj-pq9j-wh2r

Summary

The record has no summary.

Details

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).

Severity

Not rated by the source.

Dates

Published
2020-01-14 20:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

pyinstaller

PyPI · All systems

Affected

  • introduced 0, fixed 3.6 (ecosystem)

Fixed versions

3.6

Fix

  • Fixed version 3.6
    pip install --upgrade pyinstaller==3.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences