NetSight
kritisch9.8

CVE-2022-36944

Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object deserialization

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
mavenorg.scala-lang:scala-library>= 2.13.0, < 2.13.92.13.9

Betroffene Produkte

HerstellerProduktBetroffene Versionen
FedoraprojectFedora
Versionen 35, 36
Scala-langScala
ab 2.13.0 vor 2.13.9
Scala-langScala-collection-compat
vor 2.9.0

Schwachstellenklasse

Referenzen