CVE-2022-42906
 
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
powerline-gitstatus (también se conoce como Powerline Gitstatus) versiones anteriores a 1.3.2, permite la ejecución de código arbitrario. Los repositorios git pueden contener una configuración por repositorio que cambia el comportamiento de git, incluyendo la ejecución de comandos arbitrarios. Cuando es usado powerline-gitstatus, al cambiar a un directorio son ejecutados automáticamente comandos git para mostrar información sobre el repositorio actual en el prompt. Si un atacante puede convencer a un usuario para que cambie su directorio actual a uno controlado por el atacante, como en un sistema de archivos compartido o un archivo extraído, powerline-gitstatus ejecutará comandos arbitrarios bajo el control del atacante. NOTA: esto es similar a CVE-2022-20001
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-10-13 CVE Reserved
- 2022-10-13 CVE Published
- 2024-06-03 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/jaspernbrouwer/powerline-gitstatus/releases/tag/v1.3.2 | Release Notes | |
https://lists.debian.org/debian-lts-announce/2023/01/msg00017.html | Mailing List |
URL | Date | SRC |
---|---|---|
https://github.com/jaspernbrouwer/powerline-gitstatus/issues/45 | 2024-08-03 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Powerline Gitstatus Project Search vendor "Powerline Gitstatus Project" | Powerline Gitstatus Search vendor "Powerline Gitstatus Project" for product "Powerline Gitstatus" | < 1.3.2 Search vendor "Powerline Gitstatus Project" for product "Powerline Gitstatus" and version " < 1.3.2" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
|