USN-8303-1
Active Moderatepython-git vulnerabilities
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 4 records
Shared by all 4 CVE relationships
Exact relationship value
upstreamExact field value
upstreamExact evidence value
Unknown| CVE |
|---|
| CVE-2023-41040 |
| CVE-2026-42215 |
| CVE-2026-44243 |
| CVE-2026-44244 |
Description
Santos Gallegos discovered that GitPython did not properly validate paths when resolving certain Git references. An attacker could possibly use this issue to cause files outside the .git directory to be accessed, leading to a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
Read full publisher description 1485 characters
Santos Gallegos discovered that GitPython did not properly validate paths when resolving certain Git references. An attacker could possibly use this issue to cause files outside the .git directory to be accessed, leading to a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2023-41040) Wes Ring discovered that GitPython did not properly block certain unsafe Git options when they were provided as Python keyword arguments. An attacker could possibly use this issue to cause arbitrary command execution. (CVE-2026-42215) It was discovered that GitPython did not properly validate clone options before processing them. An attacker could possibly use this issue to inject unsafe Git configuration, leading to arbitrary command execution through Git hooks. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-42284) It was discovered that GitPython did not properly validate reference paths during reference operations. An attacker could possibly use this issue to write, overwrite, move, or delete files outside the repository. (CVE-2026-44243) Dan Aridor discovered that GitPython did not properly validate configuration values before writing them to Git configuration files. An attacker could possibly use this issue to inject unsafe Git configuration, leading to arbitrary command execution through Git hooks. (CVE-2026-44244)
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 3 occurrences- Ecosystem
- Ubuntu:Pro:18.04:LTS
- Fixed version
- 2.1.8-1ubuntu0.1~esm4
-
1python-gitSource package
Occurrence-specific details
- Package role
- Source package
Versions
- 2.1.5-1
- 2.1.6-1
- 2.1.7-1
- 2.1.8-1
- 2.1.8-1ubuntu0.1~esm1
- 2.1.8-1ubuntu0.1~esm2
Affected ranges and events
- ECOSYSTEM
- introduced: 0
- Fixed at 2.1.8-1ubuntu0.1~esm4
-
2python-gitBinary package
Occurrence-specific details
- Package role
- Binary package
Versions
Not supplied in this occurrence.
Affected ranges and events
Not supplied in this occurrence.
-
3python3-gitBinary package
Occurrence-specific details
- Package role
- Binary package
Versions
Not supplied in this occurrence.
Affected ranges and events
Not supplied in this occurrence.
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
| Scope | Version | Score | Severity | Source | Vector |
|---|---|---|---|---|---|
| ubuntu/bionic | 3.1 | Unknown | Unknown | Canonical | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| ubuntu/bionic | 3.1 | Unknown | Unknown | Canonical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| ubuntu/bionic | Unknown | Unknown | Moderate | Ubuntu | Unknown |
| ubuntu/bionic | 3.1 | Unknown | Unknown | Canonical | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| ubuntu/bionic | Unknown | Unknown | Moderate | Ubuntu | Unknown |
| ubuntu/bionic | 3.1 | Unknown | Unknown | Canonical | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| ubuntu/bionic | 4.0 | Unknown | Unknown | Canonical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| ubuntu/bionic | Unknown | Unknown | Moderate | Ubuntu | Unknown |
| ubuntu/bionic | 3.1 | Unknown | Unknown | Canonical | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| ubuntu/bionic | Unknown | Unknown | Moderate | Ubuntu | Unknown |
Publisher references
6Provenance
- Schema version
- 1.9.2
- Parser version
- ubuntu-osv/1
- Data license
- CC-BY-SA-4.0
- Attribution
- Canonical / Ubuntu Security Team
- Severity origin
- publisher
No publisher provenance records were supplied.