CVE-2022-42906
Summary
| CVE | CVE-2022-42906 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-10-13 03:15:00 UTC |
| Updated | 2023-03-24 18:15:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] [DLA 3277-1] powerline-gitstatus security update |
MLIST |
lists.debian.org |
|
| Release v1.3.2: Fix command injection via malicious repository config · jaspernbrouwer/powerline-gitstatus · GitHub |
MISC |
github.com |
|
| Security risk with untrusted repositories · Issue #45 · jaspernbrouwer/powerline-gitstatus · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 181357 Debian Security Update for powerline-gitstatus (CVE-2022-42906)
- 181489 Debian Security Update for powerline-gitstatus (DLA 3277-1)