Powerlevel10k before 1.20.19 Insecure Temporary Directory via gitstatus Installer
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| romkatvpowerlevel10k |
< 1.20.19→ 1.20.19 |
1.20.19 |
| romkatvgitstatus |
≤ 1.5.5→ Not listed |
Not listed |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package github.com
- patch github.com
- patch github.com
- report github.com
- web github.com
- web github.com