CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022

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

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.