CVE-2023-22742
CVE-2023-22742 · libgit2 fails to verify SSH keys by default
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the `certificate_check` field of libgit2's `git_remote_callbacks` structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.
CVSS 5.3 · Mittel · EPSS 0,6% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
libgit2
- Softwareversionen
- < 1.4.5: Betroffen
- = 1.5.0: Betroffen
Keine Korrektur veröffentlicht
libgit2 Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.5.1+ds-1
Auf 1.5.1+ds-1 aktualisieren
libgit2 Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.5.1+ds-1
Auf 1.5.1+ds-1 aktualisieren
libgit2 Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.5.1+ds-1
Auf 1.5.1+ds-1 aktualisieren
libgit2 Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 0.22.2-2
- 0.23.1-1
- 0.24.1-2
- 0.24.1-2ubuntu0.2
- 0.24.1-2ubuntu0.2+esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.24.1-2ubuntu0.2+esm2
Auf 0.24.1-2ubuntu0.2+esm2 aktualisieren
libgit2 Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 0.25.1+really0.24.6-1
- 0.26.0+dfsg.1-1.1
- 0.26.0+dfsg.1-1.1build1
- 0.26.0+dfsg.1-1.1ubuntu0.2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.26.0+dfsg.1-1.1ubuntu0.2+esm1
Auf 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 aktualisieren
libgit2 Ubuntu:20.04:LTS
- Softwareversionen
- 0.27.7+dfsg.1-0.2build1
- 0.28.3+dfsg.1-1
- 0.28.3+dfsg.1-1ubuntu1
- 0.28.4+dfsg.1-2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.28.4+dfsg.1-2ubuntu0.1
Auf 0.28.4+dfsg.1-2ubuntu0.1 aktualisieren
libgit2 Ubuntu:22.04:LTS
- Softwareversionen
- 1.1.0+dfsg.1-4
- 1.1.0+dfsg.1-4.1
- 1.1.0+dfsg.1-4.1build1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.1.0+dfsg.1-4.1ubuntu0.1
Auf 1.1.0+dfsg.1-4.1ubuntu0.1 aktualisieren
Originalquellen
- https://github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjq
- https://github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06e439df50e56
- https://github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef8265f8bd58ea
- https://github.com/libgit2/libgit2/releases/tag/v1.4.5
- https://github.com/libgit2/libgit2/releases/tag/v1.5.1
- https://www.libssh2.org
- http://www.openwall.com/lists/oss-security/2023/11/06/5
- https://nvd.nist.gov/vuln/detail/CVE-2023-22742