WaratekVRT Sign in

CVE-2022-36944 Scala

Affected softwareScala
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.13.9
WeaknessDeserialization of untrusted data (CWE-502)
Published23 Sep 2022
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
  • Indexed PoC 1 indexed Published artifacts you can open, in GitHub PoC; first seen 2023-05-16.
  • EPSS 11% chance in 30 days A model's forecast, not a report of exploitation. Higher than 96% of all scored CVEs.
IndexArtifactStarsFirst seen
GitHub PoC POC for the CVE-2022-36944 vulnerability exploit 11 2023-05-16

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.
Candidate fix https://github.com/scala/scala/pull/10118 : a pull request: the change under review

How to mitigate CVE-2022-36944

Upgrade Scala to 2.13.9 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2024 ↗ CPU 2024-Q3 Oracle Financial Services Applications / Installer (Scala) (8.1.2.5, 8.1.2.6)
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Communications Applications / PSR Designer (Scala) (7.4.2.8.0)
Oracle Communications Applications / Security (Scala) (12.0.0.4-12.0.0.7)
Oracle Financial Services Applications / Base (Scala) (14.5.0-14.7.0)
Oracle Critical Patch Update October 2023 ↗ CPU 2023-Q4 Oracle Communications / CMP (Scala) (12.6.0.0)
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Communications / Other (Scala) (23.1.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications CMP (Scala) 12.6.0.0 12.6.0.0
Oracle Communications Other (Scala) 23.1.0 23.1.0
Oracle Communications Applications PSR Designer (Scala) 7.4.2.8.0 7.4.2.8.0
Oracle Communications Applications Security (Scala) 12.0.0.4-12.0.0.7
Oracle Financial Services Applications Base (Scala) 14.5.0-14.7.0
Oracle Financial Services Applications Installer (Scala) 8.1.2.5, 8.1.2.6 8.1.2.5 · 8.1.2.6

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.scala-lang:scala-library 2.13.0 2.13.9 unbounded

Products and versions

4 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd fedoraproject fedora generic 35 · 36
osv org.scala-lang scala-library generic ≥ 2.13.0 and < 2.13.9
nvd scala-lang scala generic ≥ 2.13.0 and < 2.13.9
nvd scala-lang scala-collection-compat generic < 2.9.0

References

URLTags
https://github.com/scala/scala/pull/10118 pr
https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2 WEB
https://github.com/scala/scala PACKAGE
https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0 WEB
https://github.com/scala/scala/releases/tag/v2.13.9 WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI WEB
https://www.scala-lang.org/download WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI/

Timeline

Published2022-09-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.