1. Archivio CVE
  2. 2019
  3. CVE-2019-10755

CVE-2019-10755

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

Descrizione

The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
pac4j pac4j >= 3.0.0 <= 3.8.2 –
Tutte le 11 vulnerabilità di Pac4j

Tipo di vulnerabilità

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Sviluppo Use functions or hardware which use a hardware-based random number generation for all crypto. This is the recommended solution. Use CyptGenRandom on Windows, or hw_rand() on Linux.

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

Tutte le 220 CVE di tipo CWE-338, con andamento e prevenzione

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