Vulnerability · Published Sep 23, 2022 · Assigned by mitre

CVE-2022-36944

Critical 9.8

In plain English

A critical-severity unsafe deserialization in the org.scala-lang:scala-library package (Maven). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 11.0% (higher than 96% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)11.0%top 4.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.scala-lang:scala-library2.13.9GHSA-8qv5-68g4-248j
Ubuntu:22.04:LTSscalano fix listedUBUNTU-CVE-2022-36944
Ubuntu:24.04:LTSscalano fix listedUBUNTU-CVE-2022-36944

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References