1. Archivio CVE
  2. 2025
  3. CVE-2025-64767

CVE-2025-64767

9.1 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 9.1 – Critica

Descrizione

hpke-js is a Hybrid Public Key Encryption (HPKE) module built on top of Web Cryptography API. Prior to version 1.7.5, the public SenderContext Seal() API has a race condition which allows for the same AEAD nonce to be re-used for multiple Seal() calls. This can lead to complete loss of Confidentiality and Integrity of the produced messages. This issue has been patched in version 1.7.5.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
dajiaji hpke-js < 1.7.5 –

Tipo di vulnerabilità

CWE-323 Reusing a Nonce, Key Pair in Encryption

Nonces should be used for the present occasion and only once.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Sviluppo Refuse to reuse nonce values.
Sviluppo Use techniques such as requiring incrementing, time based and/or challenge response to assure uniqueness of nonces.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 34 CVE di tipo CWE-323, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org