CVE-2022-36944
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.
How to fix
- scala-lang scala2.13.9 or later
- scala-lang scala-collection-compat2.9.0 or later
- org.scala-lang:scala-library2.13.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| scala-lang scala | 2.13.0 ≤ v < 2.13.9 | 2.13.9 |
| scala-lang scala-collection-compat | v < 2.9.0 | 2.9.0 |
| fedoraproject fedora | 35, 36 | — |
| org.scala-lang:scala-libraryMaven | 2.13.0 ≤ v < 2.13.9 | 2.13.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.