CVE-2023-22742
libgit2 fails to verify SSH keys by default
02 Description
libgit2 fails to verify SSH keys by default
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.58% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 47.4% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-01-20 22:49Z3 YR AGO
- Last updated
- 2025-03-10 21:21Z1 YR AGO
- Reserved
- 2023-01-06
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.3)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-347Improper Verification of Cryptographic SignatureBase
- Data version
- 5.1
- Document digest
- ef460baee90751c6c97f7ce71d2c590fe7cd8e46b297b32a8d834cbd53027ee3
05 Affected products
06 References
- github.comhttps://github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjq
- github.comhttps://github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06e439df50e56
- github.comhttps://github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef8265f8bd58ea
- github.comhttps://github.com/libgit2/libgit2/releases/tag/v1.4.5
- github.comhttps://github.com/libgit2/libgit2/releases/tag/v1.5.1
- www.libssh2.orghttps://www.libssh2.org
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2023/11/06/5
07 Fixed in
Debian 12
- libgit2 Fixed in 1.5.1+ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libgit2 Fixed in 1.5.1+ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libgit2 Fixed in 1.5.1+ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libgit2 Fixed in 0.28.4+dfsg.1-2ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- libgit2 Fixed in 1.1.0+dfsg.1-4.1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libgit2 Fixed in 0.24.1-2ubuntu0.2+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libgit2 Fixed in 0.26.0+dfsg.1-1.1ubuntu0.2+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.