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

CVE-2026-140014

cookie: Private cookie nonces can repeat in processes that fork

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

Faible 39/100

Résumé

cookie is an HTTP cookie parsing and cookie jar management library for Rust. From 0.11.3 until 0.12.0 and from 0.14.0 until 0.18.3, PrivateJar generates AES-256-GCM nonces with rand::thread_rng(), whose buffered state can be duplicated when a Unix-like process calls fork() without exec(). The forking thread must have used the thread-local generator before the fork, and two resulting processes must add private cookies on that same thread with a shared Key; applications that do not fork, create cookies only on post-fork threads, use SignedJar, or run on Windows are not affected. At most the first 21 private cookies added on that thread in each resulting process can reuse nonces before the generator reseeds and the processes diverge. An attacker must obtain two cookies from different resulting processes that share a nonce to recover plaintext relationships and forge private cookies accepted by the application. This issue is fixed in version 0.18.3.

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

Produits et versions affectés

rwf2 (1 ligne(s))
rwf2
ProduitVersionsCorrigé dansSource
cookie-rs Versions non précisées — CNA (éditeur ou attributeur)
crates.io (4 ligne(s))
crates.io
ProduitVersionsCorrigé dansSource
cookie de 0.11.3 (inclus) à 0.12.0 (exclu) 0.12.0 OSV
cookie de 0.14.0 (inclus) à 0.18.3 (exclu) 0.18.3 OSV
cookie de 0.14.0 (inclus) à 0.18.3 (exclu) 0.18.3 GitHub Advisory
cookie de 0.11.3 (inclus) à 0.18.3 (exclu) 0.18.3 GitHub Advisory

Correctif

Mise à jour — crates.io/cookie 0.12.0; crates.io/cookie 0.18.3source officielle

Source : OSV

Mise à jour — crates.io/cookie 0.18.3source 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
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-323 · Autre (CWE-323)

Comment sont obtenues et calculées ces données