- Accueil
- Vulnérabilités
- CVE-2023-22742
CVE-2023-22742
libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the…
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
crates.io (5 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| git2 | avant 0.16.1 (exclu) |
0.16.1 |
GitHub Advisory |
| libgit2-sys | de 0.0.0-0 (inclus) à 0.13.5 (exclu) |
0.13.5 |
OSV |
| libgit2-sys | de 0.14.0 (inclus) à 0.14.2 (exclu) |
0.14.2 |
OSV |
| libgit2-sys | de 0.14.0 (inclus) à 0.14.2 (exclu) |
0.14.2 |
GitHub Advisory |
| libgit2-sys | avant 0.13.5 (exclu) |
0.13.5 |
GitHub Advisory |
Correctif
Mise à jour — crates.io/libgit2-sys 0.13.5; crates.io/libgit2-sys 0.14.2source officielle
Source : OSV
Mise à jour — crates.io/libgit2-sys 0.14.2; crates.io/libgit2-sys 0.13.5; crates.io/git2 0.16.1source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-m4ch-rfv5-x5g3 — git2-rs fails to verify SSH keys by default 20 janv. 2023
- RUSTSEC-2023-0003 — git2 does not verify SSH keys by default 20 janv. 2023
Références
- https://github.com/libgit2/libgit2/commit/42e5db98b963ae503229c63e44e06e439df50e56Patch, Third Party Advisory
- https://github.com/libgit2/libgit2/commit/cd6f679af401eda1f172402006ef8265f8bd58eaPatch, Third Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v1.4.5Release Notes, Third Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v1.5.1Release Notes, Third Party Advisory
- https://github.com/libgit2/libgit2/security/advisories/GHSA-8643-3wh5-rmjqWEB
- https://www.libssh2.orgThird Party Advisory
- https://crates.io/crates/libgit2-sysPACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0003.htmlWEB
- https://github.com/rust-lang/git2-rs/commit/87934f87d36753ed702792ec063be7246444a8e1WEB
- https://github.com/rust-lang/git2-rs/security/advisories/GHSA-m4ch-rfv5-x5g3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-22742ADVISORY
- https://github.com/rust-lang/git2-rsPACKAGE
- http://www.openwall.com/lists/oss-security/2023/11/06/5
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-347 · Autre (CWE-347)