CVE-2018-16115
Description
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.
Weakness
- CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Timeline
- 2018-08-29Published by the CNA22:00 UTC
- 2018-10-22GitHub advisory published (GHSA-mr95-9rr4-668f)54 days after publication
Exploit and advisory records
GitHub advisory GHSA-mr95-9rr4-668f, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven com.typesafe.akka:akka-actor_2.11 | from 2.5.0 before 2.5.16 | 2.5.16 |
| Maven com.typesafe.akka:akka-actor_2.12 | from 2.5.0 before 2.5.16 | 2.5.16 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| lightbend akka | from 2.5.0 before 2.5.16fixed in 2.5.16 | 2.5.16 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-16115'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-16115'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-16115'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-16115'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).