Deserialization in Scala-Lang Scala
CVE-2022-36944
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.110, 96.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Scala-Lang Scala
- Scala-Lang Scala-Collection-Compat
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- yarocher/lazylist-cve-poc (11 stars, last pushed 2023-05-16): POC for the CVE-2022-36944 vulnerability exploit
Also mentioned in 17 other repositories (emilywang0/CVE_testing_VULN, emilywang0/MergeBase_test_vuln, hinat0y/Dataset1, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.scala-lang.org/download/ (Vendor Advisory)
- github.com/scala/scala/pull/10118 (Exploit, Patch, Third Party Advisory)
- FEDORA-2022-34acf878fb (vendor-advisory)
- FEDORA-2022-07dd9375b2 (vendor-advisory)
- discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akk… (Third Party Advisory)
- github.com/scala/scala-collection-compat/releases/tag/v2.9.0 (Third Party Advisory, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.