| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Git up to 2.37.3. The impacted element is an unknown function. Performing a manipulation results in heap-based overflow. This vulnerability is cataloged as CVE-2022-39260. It is possible to initiate the attack remotely. There is no exploit available. It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical has been found in Git up to 2.37.3 (Versioning Software). This affects an unknown functionality. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an `int` to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to `execv()`, it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to `git shell` as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling `git shell` access via remote logins is a viable short-term workaround.
The weakness was shared 10/19/2022 as GHSA-rjr6-wcq6-83p6. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2022-39260 since 09/02/2022. The technical details are unknown and an exploit is not publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 211059 (Fedora 37 : git (2022-fb088df94c)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3 or 2.37.4 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (211059). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
- 2.30.0
- 2.30.1
- 2.30.2
- 2.30.3
- 2.30.4
- 2.30.5
- 2.31.0
- 2.31.1
- 2.31.2
- 2.31.3
- 2.31.4
- 2.32.0
- 2.32.1
- 2.32.2
- 2.32.3
- 2.33.0
- 2.33.1
- 2.33.2
- 2.33.3
- 2.33.4
- 2.34.0
- 2.34.1
- 2.34.2
- 2.34.3
- 2.34.4
- 2.35.0
- 2.35.1
- 2.35.2
- 2.35.3
- 2.35.4
- 2.36.0
- 2.36.1
- 2.36.2
- 2.37.0
- 2.37.1
- 2.37.2
- 2.37.3
License
Website
- Product: https://github.com/git/git/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.4
VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 8.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211059
Nessus Name: Fedora 37 : git (2022-fb088df94c)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Git 2.30.6/2.31.5/2.32.4/2.33.5/2.34.5/2.35.5/2.36.3/2.37.4
Timeline
09/02/2022 🔍10/19/2022 🔍
10/19/2022 🔍
11/17/2024 🔍
Sources
Product: github.comAdvisory: GHSA-rjr6-wcq6-83p6
Status: Confirmed
CVE: CVE-2022-39260 (🔍)
GCVE (CVE): GCVE-0-2022-39260
GCVE (VulDB): GCVE-100-211779
Entry
Created: 10/19/2022 17:30Updated: 11/17/2024 18:31
Changes: 10/19/2022 17:30 (50), 11/18/2022 08:54 (11), 11/17/2024 18:31 (16)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.