BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-39260 in Apple Xcode and 9 more products

High 8.8 Industrial / OT

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.

Affects 10 products from 5 vendors. Description from NVD and MITRE.

CVSS 3.18.8
EPSS4.0%
EPSS percentile91th

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apple Xcode < 14.1
Debian Debian Linux 10.0
Fedoraproject Fedora 35 36 37
Git-Scm Git 2.38.0 < 2.30.6 ≥ 2.31.0, < 2.31.5 ≥ 2.32.0, < 2.32.4 ≥ 2.33.0, < 2.33.5 ≥ 2.34.0, < 2.34.5
+3 more≥ 2.35.0, < 2.35.5 ≥ 2.36.0, < 2.36.3 ≥ 2.37.0, < 2.37.4
Siemens SCALANCE XCM328 < 2.4
Siemens SCALANCE XCM332 < 2.4
Siemens SCALANCE XRH334 < 2.4
Siemens SCALANCE XRM334 < 2.4
Siemens SCALANCE XCM324 < 2.4
Siemens SCALANCE XCH328 < 2.4
Phoenixcontact Axc F 1152 Firmware < 2023.0.0
Phoenixcontact Axc F 2152 Firmware < 2023.0.0
Phoenixcontact Axc F 3152 Firmware < 2023.0.0
Phoenixcontact Bpc 9102S Firmware < 2023.0.0
Phoenixcontact Rfc 4072R Firmware < 2023.0.0
Phoenixcontact Rfc 4072S Firmware < 2023.0.0

Show 2 more products

Fix and vendor advisory

  • SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 7 more: Update to V2.4 or later version

Source: ICSA-24-046-11

  • Update to the latest 2023.0.0 LTS Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.

Source: VDE-2023-001

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2022-39260
BreachSpider IDBS-2022-GLOBAL-331416-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2022-10-19
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Disable `git shell` access via remote logins or restrict access to trusted users only. Implement network segmentation to limit exposure to untrusted networks.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.