Arbitrary Code Execution Affecting com.typesafe.akka:akka-actor_2.12 package, versions [,2.4.17) [2.5-alpha,2.5-M2)


0.0
high
  • Attack Complexity

    High

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-JAVA-COMTYPESAFEAKKA-31453

  • published

    8 Aug 2017

  • disclosed

    9 Feb 2017

  • credit

    Alvaro Munoz, Adrian Bravo

How to fix?

Upgrade akka-actor to version 2.4.17 or higher.

Overview

com.typesafe.akka:akka-actor_2.12 is message-driven application builder on the JVM.

Affected versions of the package are vulnerable to Arbitrary Code Execution. An attacker that can connect to an ActorSystem exposed via Akka Remote over TCP can gain remote code execution capabilities in the context of the JVM process that runs the ActorSystem if:

  • JavaSerializer is enabled (default in Akka 2.4.x)
  • and TLS is disabled or TLS is enabled with akka.remote.netty.ssl.security.require-mutual-authentication = false (which is still the default in Akka 2.4.x)
  • or if TLS is enabled with mutual authentication and the authentication keys of a host that is allowed to connect have been compromised, an attacker gained access to a valid certificate (e.g. by compromising a node with certificates issued by the same internal PKI tree to get access of the certificate)
  • regardless of whether untrusted mode is enabled or not

Java deserialization is known to be vulnerable to attacks when attacker can provide arbitrary types.