CVE-2022-36944
Scala-lang Scala vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Scala, Scala-collection-compat, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Scala-lang Scala runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.scala-lang.org/download/ · Vendor Advisory
- github.com/scala/scala/pull/10118 · Exploit
- discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10 · Third Party Advisory
- github.com/scala/scala-collection-compat/releases/tag/v2.9.0 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- nvd.nist.gov/vuln/detail/CVE-2022-36944
- cve.org/CVERecord?id=CVE-2022-36944
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.