GHSA-mr95-9rr4-668f

    Dashboard / Vulnerabilities / GHSA-mr95-9rr4-668f

    GHSA-mr95-9rr4-668f

    Published: 22 Oct 2018Last Modified: 8 Nov 2023

    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.

    Affected packages

    Package

    Name: com.typesafe.akka:akka-actor_2.11

    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.5.0
    2.5.1
    2.5.10
    2.5.11
    2.5.12
    2.5.13
    2.5.14
    2.5.15
    2.5.2
    2.5.3
    2.5.4
    2.5.5
    2.5.6
    2.5.7
    2.5.8
    2.5.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High