CVE-2018-16115
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedLightbend 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAkka 2.5.x before 2.5.16 contains a flawed implementation of custom random number generators (AES128CounterSecureRNG and AES256CounterSecureRNG) used in TLS for Akka Remoting. The bug causes generated random numbers to repeat after only a few bytes, completely breaking the cryptographic protection and allowing attackers to eavesdrop on, replay, or modify messages sent over Akka Remoting/Cluster connections.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.5.0, < 2.5.16CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Akka versionReview build configuration files (build.sbt, pom.xml, gradle.build) or JAR manifest for akka-actor library versionAffected if Version is 2.5.0 through 2.5.15 inclusive
-
Verify Akka Remoting is enabledInspect akka.remote.artery.enabled or akka.remote.enabled in application.confAffected if Remoting or Artery transport is turned on
-
Confirm TLS/SSL is configured for remotingLook for ssl-config or akka.remote.netty.ssl.config settings in application.confAffected if TLS/SSL is enabled for remoting connections
-
Check for custom RNG configurationSearch configuration files for AES128CounterSecureRNG or AES256CounterSecureRNG in ssl-config.secureRandom or related settingsAffected if Either AES128CounterSecureRNG or AES256CounterSecureRNG is configured as the random number generator
Environment is affected if running Akka 2.5.0-2.5.15 with Akka Remoting over TLS enabled and using AES128CounterSecureRNG or AES256CounterSecureRNG as the custom random number generator.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.5.16
Upgrade to Akka 2.5.16 or later, and ensure custom RNG configurations are removed or replaced with Java's default SecureRandom implementation.
Akka 2.5.16 or later (2.5.31 recommended for latest 2.5.x stable)
- Upgrade Akka version from any 2.5.0-2.5.15 to version 2.5.16 or later (e.g., 2.5.31 for the latest 2.5.x stable release)
- If using a build tool (sbt, Maven, Gradle), update the akka-actor, akka-remote, and akka-cluster dependency versions to the new release
- After upgrading, verify that the custom RNG configurations AES128CounterSecureRNG and AES256CounterSecureRNG are not enabled in application.conf (they should not be used even in the fixed version; use Java's default SecureRandom or the netty SecureRandom instead)
- Test the upgrade in a staging environment to confirm remoting/cluster communication works correctly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,544.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-16115 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-16115 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data