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

CVE-2025-54887

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

jwe is a Ruby implementation of the RFC 7516 JSON Web Encryption (JWE) standard. In versions 1.1.0 and below, authentication tags of encrypted JWEs can be brute forced, which may result in loss of confidentiality for those JWEs and provide ways to craft arbitrary JWEs. This puts users at risk because JWEs can be modified to decrypt to an arbitrary value, decrypted by observing parsing differences and the GCM internal GHASH key can be recovered. Users are affected by this vulnerability even if they do not use an AES-GCM encryption algorithm for their JWEs. As the GHASH key may have been leaked, users must rotate the encryption keys after upgrading. This issue is fixed in version 1.1.1.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
jwt ruby-jwe < 1.1.1 –

Tipo di vulnerabilità

CWE-354 Improper Validation of Integrity Check Value

The product does not validate or incorrectly validates the integrity check values or checksums of a message.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Modificare i dati dell’applicazione, Altro
Integrità, Altro Altro
Non ripudio, Altro Nascondere le proprie attività, Altro

Come si previene

Sviluppo The protocol specification describes the algorithm used for calculating the checksum. It is then a matter of implementing the calculation and verifying that the calculated checksum and the received checksum match.

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

Tutte le 202 CVE di tipo CWE-354, con andamento e prevenzione

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