SecurityContext

CVE-2022-36944: Scala - Insecure Deserialization

  • Cve: CVE-2022-36944
  • Name: Scala - Insecure Deserialization
  • 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.
  • Impact: Attackers can potentially erase files, establish network connections, or execute arbitrary code when combined with deserialization vulnerabilities.
  • Remediation: Update to Scala 2.13.9 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.11678
  • Epss percentile: 0.96163
  • Assignee: [email protected]
  • Published at: 2022-09-23T18:15:10Z
  • Age in days: 1523
  • Modified at: 2026-06-17T04:54:19Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 6
  • Products total: 3
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36944
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/scala/scala/pull/10118nvd2022-09-23
https://github.com/yarocher/lazylist-cve-pocpoc-in-github2023-05-16

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/scala/scala/pull/10118Exploit, Patch, Third Party Advisory
https://www.scala-lang.org/download/Vendor Advisory
https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2Third Party Advisory
https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0Release Notes, Third Party Advisory
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/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
scala-lang:scala>= 2.13.0, < 2.13.9/v1/products/scala-lang/scala
fedoraproject:fedora= 36, = 35/v1/products/fedoraproject/fedora
scala-lang:scala-collection-compat< 2.9.0/v1/products/scala-lang/scala-collection-compat

Projects

RepositoryLink kindsIndexedUrl
scala/scalapackage, pull, releasesyes/v1/repositories/scala/scala
scala/scala-collection-compatreleasesyes/v1/repositories/scala/scala-collection-compat

Index

  • Repositories: 97
  • Repositories high signal: 45
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-09-23
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since