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

CVE-2025-25298

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 5.3 – Media

Descrizione

Strapi is an open source headless CMS. The @strapi/core package before version 5.10.3 does not enforce a maximum password length when using bcryptjs for password hashing. Bcryptjs ignores any bytes beyond 72, so passwords longer than 72 bytes are silently truncated. A user can create an account with a password exceeding 72 bytes and later authenticate with only the first 72 bytes. This reduces the effective entropy of overlong passwords and may mislead users who believe characters beyond 72 bytes are required, creating a low likelihood of unintended authentication if an attacker can obtain or guess the truncated portion. Long over‑length inputs can also impose unnecessary processing overhead. The issue is fixed in version 5.10.3. No known workarounds exist.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
strapi strapi < 5.10.3 –
Tutte le 42 vulnerabilità di Strapi

Tipo di vulnerabilità

CWE-261 Weak Encoding for Password

The product uses a weak or trivial encoding for a password.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Passwords should be encrypted with keys that are at least 128 bits in length for adequate security.

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

Tutte le 23 CVE di tipo CWE-261, con andamento e prevenzione

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