1. Accueil
  2. Vulnérabilités
  3. CVE-2023-22742

CVE-2023-22742

libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the…

Publiée le 20 janv. 2023 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 40/100

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))
crates.io
ProduitVersionsCorrigé dansSource
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
Libgit2 (2 ligne(s))
Libgit2
ProduitVersionsCorrigé dansSource
Libgit2 avant 1.4.5 (exclu) — NVD
Libgit2 1.5.0 — NVD

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

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

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)

Comment sont obtenues et calculées ces données