CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5) in git-scm git. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExplain CVE-2023-23946 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-23946?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-23946?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-23946 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| git-scm:git | before 2.30.8 |
| git-scm:git | from 2.31.0 before 2.31.7 |
| git-scm:git | from 2.32.0 before 2.32.6 |
| git-scm:git | from 2.33.0 before 2.33.7 |
| git-scm:git | from 2.34.0 before 2.34.7 |
| git-scm:git | from 2.35.0 before 2.35.7 |
| git-scm:git | from 2.36.0 before 2.36.5 |
| git-scm:git | from 2.37.0 before 2.37.6 |
| git-scm:git | from 2.38.0 before 2.38.4 |
| git-scm:git | from 2.39.0 before 2.39.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | git | 1:2.20.1-2+deb10u8 | DLA-3338-1 |
| Debian | 11 | git | 1:2.30.2-1+deb11u2 | DSA-5357-1 |
| Debian | 12, 13, 14 | git | 1:2.39.2-1 | DEBIAN-CVE-2023-23946 |
| Ubuntu | 18.04:LTS | git | 1:2.17.1-1ubuntu0.16 | UBUNTU-CVE-2023-23946 USN-5871-1 |
| Ubuntu | 20.04:LTS | git | 1:2.25.1-1ubuntu3.10 | UBUNTU-CVE-2023-23946 USN-5871-1 |
| Ubuntu | 22.04:LTS | git | 1:2.34.1-1ubuntu1.8 | UBUNTU-CVE-2023-23946 USN-5871-1 |
| Ubuntu | Pro:16.04:LTS | git | 1:2.7.4-0ubuntu1.10+esm5 | UBUNTU-CVE-2023-23946 USN-5871-1 |
| Red Hat | enterprise_linux:8::appstream | git, gitk, gitweb and 17 more | 0:2.39.3-1.el8_8 | RHSA-2023:3246 |
| Red Hat | enterprise_linux:9::appstream | git, gitk, gitweb and 17 more | 0:2.39.3-1.el9_2 | RHSA-2023:3245 |
| Red Hat | rhel_eus:8.6::appstream | git, gitk, gitweb and 17 more | 0:2.31.8-1.el8_6 | RHSA-2024:0407 |
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 4 more | git | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 8 more | git | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-LTSS and 7 more | git | 2.26.2-27.66.1 | SUSE-SU-2023:0426-1 |
| openSUSE | Leap 15.4 | git | 2.26.2-150000.47.1 | SUSE-SU-2023:0418-1 |
| openSUSE | Leap 15.4 | git | 2.35.3-150300.10.24.1 | SUSE-SU-2023:0430-1 |
| openSUSE | Tumbleweed | git | 2.39.2-1.1 | openSUSE-SU-2024:12698-1 |
| AlmaLinux | 8 | git, gitk, gitweb and 12 more | 2.39.3-1.el8_8 | ALSA-2023:3246 |
| AlmaLinux | 9 | git, gitk, gitweb and 12 more | 2.39.3-1.el9_2 | ALSA-2023:3245 |
| Rocky Linux | 8 | git | 0:2.39.3-1.el8_8 | RLSA-2023:3246 |
| Alpine | v3.14 | git | 2.32.6-r0 | ALPINE-CVE-2023-23946 |
| Alpine | v3.15 | git | 2.34.7-r0 | ALPINE-CVE-2023-23946 |
| Alpine | v3.16 | git | 2.36.5-r0 | ALPINE-CVE-2023-23946 |
| Alpine | v3.17 | git | 2.38.4-r0 | ALPINE-CVE-2023-23946 |
| Alpine | v3.18, v3.19, v3.20 and 4 more | git | 2.39.2-r0 | ALPINE-CVE-2023-23946 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This vulnerability marked as Moderate severity and it's less likely to be exploitable because it requires a specially crafted malicious patch to be applied via git apply, to overwrite files outside the working tree of the user running git apply. This could lead to some compromise of integrity of resources under certain circumstances, however it does not compromise the whole system or gain additional privileges to execute arbitrary code, or allow remote users to cause a denial of service.
Use git apply --stat to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | git-0:2.39.3-1.el8_8 | Fixed 2023-05-22 | RHSA-2023:3246 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | git-0:2.31.8-1.el8_6 | Fixed 2024-01-25 | RHSA-2024:0407 |
| Red Hat Enterprise Linux 9 | git-0:2.39.3-1.el9_2 | Fixed 2023-05-22 | RHSA-2023:3245 |
| Red Hat Enterprise Linux 6 | git | Out of support scope | |
| Red Hat Enterprise Linux 7 | git | Out of support scope | |
| Red Hat JBoss Data Grid 7 | git | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-23946.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-24-046-11 | Siemens SCALANCE XCM-/XRM-300 | 2024-02-13 | Multiple | SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.