- Accueil
- Vulnérabilités
- CVE-2026-76101
CVE-2026-76101
keystore-go: Keystore integrity and password verification bypass via stripped trailing digest in Decode(), impacting legacy v2 versions
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| keystore-go | Versions non précisées | — | CNA (éditeur ou attributeur) |
Go (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GO-2026-7002 — keystore-go: Keystore integrity and password verification bypass via stripped trailing digest in Decode() in github.com/pavel-v-chernykh/keystore-go 23 nov. 2026
- GHSA-j282-pjg5-j643 — keystore-go: Keystore integrity and password verification bypass via stripped trailing digest in Decode() 19 nov. 2026
Références
- https://github.com/pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643exploit
- https://github.com/pavlo-v-chernykh/keystore-go/commit/af93effd832cf1aef7794e69c31e1b668e17b851x_refsource_MISC
- https://github.com/pavlo-v-chernykh/keystore-go/releases/tag/v3.0.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-76101ADVISORY
- https://github.com/pavlo-v-chernykh/keystore-goPACKAGE
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)