Git up to 2.30.0 connect.c git_connect_git privilege escalation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in Git up to 2.30.0. Affected by this issue is the function git_connect_git of the file connect.c. Executing a manipulation can lead to an unknown weakness.
This vulnerability is tracked as CVE-2021-40330. No exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability has been found in Git up to 2.30.0 (Versioning Software) and classified as problematic. This vulnerability affects the function git_connect_git of the file connect.c. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was disclosed 08/31/2021. The advisory is shared for download at github.com. This vulnerability was named CVE-2021-40330. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 353137 (CentOS Linux 7 [TuxCare] Security Update: emacs-git / emacs-git-el / git / git-all / git-bzr / git-cvs / etc Multiple Vulnerabilities (CENTOS7:CLSA-2024:1712672592)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.30.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (353137). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- 2.16
- 2.17
- 2.18
- 2.19
- 2.20
- 2.21
- 2.22
- 2.23
- 2.24
- 2.25
- 2.26
- 2.27
- 2.28
- 2.29
- 2.30.0
License
Website
- Product: https://github.com/git/git/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Privilege escalationCWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
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: 353137
Nessus Name: CentOS Linux 7 [TuxCare] Security Update: emacs-git / emacs-git-el / git / git-all / git-bzr / git-cvs / etc Multiple Vulnerabilities (CENTOS7:CLSA-2024:1712672592)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Git 2.30.1
Patch: github.com
Timeline
08/31/2021 🔍08/31/2021 🔍
08/31/2021 🔍
10/01/2026 🔍
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2021-40330 (🔍)
GCVE (CVE): GCVE-0-2021-40330
GCVE (VulDB): GCVE-100-181732
Entry
Created: 08/31/2021 11:01Updated: 10/01/2026 12:38
Changes: 08/31/2021 11:01 (39), 09/03/2021 14:32 (2), 10/01/2026 12:38 (18)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.