CVE-2022-36944

Deserialization of Untrusted Data in maven/org.scala-lang/scala-library

Identifiers

GHSA-8qv5-68g4-248j, CVE-2022-36944

Package Slug

maven/org.scala-lang/scala-library

Vulnerability

Deserialization of Untrusted Data

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 LazyList 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.

Affected Versions

All versions starting from 2.13.0 before 2.13.9

Solution

Upgrade to version 2.13.9 or above.

Last Modified

2022-09-29

source