Generation of Predictable Numbers or Identifiers Affecting com.typesafe.akka:akka-actor_2.12 package, versions [2.5.14,2.8.1)
Threat Intelligence
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-5518120
- published 11 May 2023
- disclosed 11 May 2023
- credit Unknown
Introduced: 11 May 2023
CVE-2023-31442 Open this link in a new tabHow to fix?
Upgrade com.typesafe.akka:akka-actor_2.12
to version 2.8.1 or higher.
Overview
com.typesafe.akka:akka-actor_2.12 is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.
Affected versions of this package are vulnerable to Generation of Predictable Numbers or Identifiers in the async-dns
resolver component, which is used by Discovery in DNS mode and transitively by Cluster Bootstrap. It uses predictable DNS transaction IDs when resolving DNS records, making DNS resolution subject to poisoning by an attacker. If the application performing discovery does not validate (e.g., via TLS) the authenticity of the discovered service, this may result in exfiltration of application data (e.g., persistence events may be published to an unintended Kafka broker). If such validation is performed, then the poisoning constitutes a denial of access to the intended service.
The complexity of a successful attack using this vulnerability is high because the attacker must gather or guess details about the services accessible via the affected DNS server.