CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NMedium (5.9) in libgit2 libgit2. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in libgit2-sys 0.13.5, 0.14.2.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Nlibgit2-sys (crates.io): fixed in 0.14.2, 0.13.5git2 (crates.io): fixed in 0.16.1Explain CVE-2023-22742 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-22742?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-22742?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-22742 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 |
|---|---|
| libgit2:libgit2 | before 1.4.5 |
| libgit2:libgit2 | 1.5.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-m4ch-rfv5-x5g3 | crates.io | libgit2-sys | >=0.14.0 <0.14.2 | 0.14.2 |
| GHSA-m4ch-rfv5-x5g3 | crates.io | libgit2-sys | <0.13.5 | 0.13.5 |
| GHSA-m4ch-rfv5-x5g3 | crates.io | git2 | <0.16.1 | 0.16.1 |
| RUSTSEC-2023-0003 | crates.io | libgit2-sys | >=0.0.0-0 <0.13.5 >=0.14.0 <0.14.2 | 0.13.5, 0.14.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | libgit2 | 0.27.7+dfsg.1-0.2+deb10u1 | DLA-3340-1 |
| Debian | 12, 13, 14 | libgit2 | 1.5.1+ds-1 | DEBIAN-CVE-2023-22742 |
| Ubuntu | 20.04:LTS | libgit2 | 0.28.4+dfsg.1-2ubuntu0.1 | UBUNTU-CVE-2023-22742 USN-6678-1 |
| Ubuntu | 22.04:LTS | libgit2 | 1.1.0+dfsg.1-4.1ubuntu0.1 | UBUNTU-CVE-2023-22742 USN-6678-1 |
| Ubuntu | Pro:16.04:LTS | libgit2 | 0.24.1-2ubuntu0.2+esm2 | UBUNTU-CVE-2023-22742 USN-6678-1 |
| Ubuntu | Pro:18.04:LTS | libgit2 | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | UBUNTU-CVE-2023-22742 USN-6678-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP4 | libgit2 | 1.3.0-150400.3.6.1 | SUSE-SU-2023:1788-1 |
| SUSE | Linux Enterprise Real Time 15 SP3, Manager Server Module 4.2, Manager Server Module 4.3 | libgit2 | 0.28.4-150200.3.6.1 | SUSE-SU-2023:1909-1 |
| openSUSE | Leap 15.4 | libgit2 | 0.26.8-150000.3.18.1 | SUSE-SU-2023:1570-1 |
| openSUSE | Leap 15.4 | libgit2 | 0.28.4-150200.3.6.1 | SUSE-SU-2023:1909-1 |
| openSUSE | Leap 15.4 | libgit2 | 1.3.0-150400.3.6.1 | SUSE-SU-2023:1788-1 |
| openSUSE | Tumbleweed | libgit2 | 1.5.1-1.1 | openSUSE-SU-2024:12632-1 |
| Alpine | v3.17 | libgit2 | 1.5.1-r0 | ALPINE-CVE-2023-22742 |
| Azure Linux | 2 | rust | 1.68.0-1 | AZL-13175 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Upgrade the package as soon as possible. Users unable to upgrade should ensure that all relevant certificates are manually checked.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libgit2 | Out of support scope | |
| Red Hat Enterprise Linux 8 | libgit2 | Not affected | |
| Red Hat Enterprise Linux 9 | rust | Not affected |
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-22742.
| 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.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.