CVE-2022-42906 Powerline Gitstatus vulnerable to arbitrary code execution
HighCVSS 7.8
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
Description
powerline-gitstatus (aka Powerline Gitstatus) before 1.3.2 allows arbitrary code execution. git repositories can contain per-repository configuration that changes the behavior of git, including running arbitrary commands. When using powerline-gitstatus, changing to a directory automatically runs git commands in order to display information about the current repository in the prompt. If an attacker can convince a user to change their current directory to one controlled by the attacker, such as in a shared filesystem or extracted archive, powerline-gitstatus will run arbitrary commands under the attacker's control. NOTE: this is similar to CVE-2022-20001.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi powerline-gitstatus(PyPI) | < 1.3.2 | 1.3.2 |
| pypi powerline-gitstatus(PyPI) | = 1.0.0 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.0.1 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.0.2 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.0.3 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.0.4 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.1.0 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.1.1 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.2.0 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.2.1 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.3.0 | No fix listed |
| pypi powerline-gitstatus(PyPI) | = 1.3.1 | No fix listed |
| ubuntu/powerline-gitstatus(Ubuntu:22.04) | All versions | No fix listed |
| powerline gitstatus project powerline gitstatus | < 1.3.2 | 1.3.2 |
| debian linux | = 10.0 | No fix listed |
| ubuntu/powerline-gitstatus(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/powerline-gitstatus(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/powerline-gitstatus(Ubuntu:26.10) | All versions | No fix listed |
| debian/powerline-gitstatus(Debian:12) | < 1.3.2-1 | 1.3.2-1 |
| debian/powerline-gitstatus(Debian:14) | < 1.3.2-1 | 1.3.2-1 |
| debian/powerline-gitstatus(Debian:13) | < 1.3.2-1 | 1.3.2-1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com patch
- github.com product
- github.com release-notes
- [debian-lts-announce] 20230120 [SECURITY] [DLA 3277-1] powerline-gitstatus security update mailing-list third-party-advisory
- github.com vendor-advisory
- pypi.org product
- Debian Security Tracker CVE-2022-42906 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org