GHSA-mr95-9rr4-668f

Suggest an improvement
Source
https://github.com/advisories/GHSA-mr95-9rr4-668f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-mr95-9rr4-668f/GHSA-mr95-9rr4-668f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mr95-9rr4-668f
Aliases
Published
2018-10-22T20:44:26Z
Modified
2023-11-08T03:59:58.659739Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Cryptographically Weak Pseudo-Random Number Generator (PRNG) in akka-actor
Details

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.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:47:05Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-338"
    ]
}
References

Affected packages

Maven / com.typesafe.akka:akka-actor_2.11

Package

Name
com.typesafe.akka:akka-actor_2.11
View open source insights on deps.dev
Purl
pkg:maven/com.typesafe.akka/akka-actor_2.11

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0
Fixed
2.5.16

Affected versions

2.*

2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.5.10
2.5.11
2.5.12
2.5.13
2.5.14
2.5.15

Maven / com.typesafe.akka:akka-actor_2.12

Package

Name
com.typesafe.akka:akka-actor_2.12
View open source insights on deps.dev
Purl
pkg:maven/com.typesafe.akka/akka-actor_2.12

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0
Fixed
2.5.16

Affected versions

2.*

2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.5.10
2.5.11
2.5.12
2.5.13
2.5.14
2.5.15