CVE-2022-42906
CVSS V2 None
CVSS V3 High 7.8
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.
Overview
- CVE ID
- CVE-2022-42906
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-10-13T03:15:09
- Last Modified Date
- 2023-03-24T18:15:39
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:powerline_gitstatus_project:powerline_gitstatus:*:*:*:*:*:*:*:* | 1 | OR | 1.3.2 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/jaspernbrouwer/powerline-gitstatus/issues/45 | Exploit Issue Tracking Third Party Advisory |
https://github.com/jaspernbrouwer/powerline-gitstatus/releases/tag/v1.3.2 | Release Notes Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/01/msg00017.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-42906 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42906 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-10-13 04:02:24 | Added to TrackCVE | |||
2022-12-07 06:59:19 | 2022-10-13T03:15Z | 2022-10-13T03:15:09 | CVE Published Date | updated |
2022-12-07 06:59:19 | 2022-10-17T13:44:48 | CVE Modified Date | updated | |
2022-12-07 06:59:19 | Analyzed | Vulnerability Status | updated | |
2023-01-20 21:13:24 | 2023-01-20T20:15:10 | CVE Modified Date | updated | |
2023-01-20 21:13:24 | Analyzed | Modified | Vulnerability Status | updated |
2023-01-20 21:13:25 | References | updated | ||
2023-01-23 13:12:01 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-03-27 16:15:29 | 2023-03-24T18:15:39 | CVE Modified Date | updated | |
2023-03-27 16:15:29 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |