Description
Scala 2.13.x before 2.13.9 has a Java deserialization chain in its JAR file. On its own, it cannot be exploited. There is only a risk in conjunction with Java object deserialization within an application. In such situations, it allows attackers to erase contents of arbitrary files, make network connections, or possibly run arbitrary code (specifically, Function0 functions) via a gadget chain.
Remediation
References
https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2
https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0
https://github.com/scala/scala/pull/10118
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI/
https://www.scala-lang.org/download/
Related Vulnerabilities
CVE-2021-42392 Vulnerability in maven package com.h2database:h2
CVE-2021-25646 Vulnerability in maven package org.apache.druid:druid-core
CVE-2016-4055 Vulnerability in npm package moment
CVE-2017-16225 Vulnerability in npm package aegir
CVE-2020-7713 Vulnerability in npm package arr-flatten-unflatten