Skip to main content

Use of Insufficiently Random Values

CVE-2022-28355

Severity High
Score 7.5/10

Summary

The "java.util.UUID.randomUUID()" function in Scala.js prior to 1.10.0 generates predictable values which poses a security risk. In addition, the underlying PRNG has only 48 bits of state, which means that at most 2^48 different UUIDs may be generated by "randomUUID()". This can cause likely collisions between generated UUIDs.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-330 - Use of Insufficiently Random Values

The software uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.

Advisory Timeline

  • Published