Powerlevel10k code execution in gitstatus installer
romkatv powerlevel10k · romkatv gitstatus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| romkatv powerlevel10k |
| No fix yet |
| romkatv gitstatus |
| No fix yet |
Original description
Powerlevel10k before 1.20.19 contains an insecure temporary directory vulnerability in the bundled gitstatus/install script that reuses attacker-creatable directories when mktemp fails. Local attackers can pre-create the predictable gitstatus-install.tmp directory to replace the extracted gitstatusd binary, which then executes with the victim's privileges.
From the CVE record · VulnCheck