Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.typesafe.akka/akka-actor_2.12
  4. ›
  5. CVE-2018-16115

CVE-2018-16115: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

October 22, 2018 (updated September 15, 2021)

Lightbend Akka 2.5.x before 2.5.16 allows message disclosure and modification because of an RNG error. A random number generator is used in Akka Remoting for TLS (both classic and Artery Remoting). Akka allows configuration of custom random number generators. For historical reasons, Akka included the AES128CounterSecureRNG and AES256CounterSecureRNG random number generators. The implementations had a bug that caused the generated numbers to be repeated after only a few bytes. The custom RNG implementations were not configured by default but examples in the documentation showed (and therefore implicitly recommended) using the custom ones. This can be used by an attacker to compromise the communication if these random number generators are enabled in configuration. It would be possible to eavesdrop, replay, or modify the messages sent with Akka Remoting/Cluster.

References

  • github.com/advisories/GHSA-mr95-9rr4-668f
  • nvd.nist.gov/vuln/detail/CVE-2018-16115

Code Behaviors & Features

Detect and mitigate CVE-2018-16115 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0 before 2.5.16

Fixed versions

  • 2.5.16

Solution

Upgrade to version 2.5.16 or above.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

maven/com.typesafe.akka/akka-actor_2.12/CVE-2018-16115.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.