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.106 (95.7th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 95.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.083 · newest: 0.106 · change: +0.024
Affected products
- Scala-Lang Scala
- Scala-Lang Scala-Collection-Compat
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.scala-lang.org/download/ (Vendor Advisory)
- github.com/scala/scala/pull/10118 (Exploit, Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (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)
Frequently asked questions
- What is CVE-2022-36944?
- CVE-2022-36944 is a critical-severity vulnerability in Scala-Lang Scala, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2022-09-23.
- How severe is CVE-2022-36944?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-36944 known to be exploited?
- 18 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.