1. Accueil
  2. Vulnérabilités
  3. CVE-2026-76101

CVE-2026-76101

keystore-go: Keystore integrity and password verification bypass via stripped trailing digest in Decode(), impacting legacy v2 versions

Publiée le 18 nov. 2026 · modifiée le 19 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 33/100

Résumé

keystore-go is a Go implementation of the Java KeyStore encoder and decoder. In 2.1.0 and earlier, keystore.Decode in decoder.go does not check the error returned when reading the trailing SHA-1 integrity digest and bounds its comparison by the length of the digest actually read. If an attacker with write access removes the final 20-byte digest from a modified JKS file, the empty actual digest causes the comparison loop to execute zero times and Decode returns the parsed keystore without an error. For certificate-only stores using TrustedCertificateEntry values, this bypasses both tamper detection and password verification, allowing trusted CA certificates to be added or replaced without knowing the keystore password and potentially enabling interception or modification of TLS connections that trust the forged CA. This issue is fixed in version 3.0.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

pavlo-v-chernykh (1 ligne(s))
pavlo-v-chernykh
ProduitVersionsCorrigé dansSource
keystore-go Versions non précisées — CNA (éditeur ou attributeur)
Go (3 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/pavel-v-chernykh/keystore-go jusqu’à 2.1.0 (inclus) — GitHub Advisory
github.com/pavel-v-chernykh/keystore-go Versions non précisées — OSV
github.com/pavel-v-chernykh/keystore-go/v3 avant 3.0.0 (exclu) 3.0.0 GitHub Advisory

Correctif

Mise à jour — Go/github.com/pavel-v-chernykh/keystore-go/v3 3.0.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-252 · Autre (CWE-252)

Comment sont obtenues et calculées ces données