Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.scala-lang/scala-library
  4. ›
  5. CVE-2022-36944

CVE-2022-36944: Deserialization of Untrusted Data

September 25, 2022 (updated September 28, 2022)

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

References

  • github.com/advisories/GHSA-8qv5-68g4-248j
  • github.com/scala/scala/pull/10118
  • nvd.nist.gov/vuln/detail/CVE-2022-36944
  • www.scala-lang.org/download/

Code Behaviors & Features

Detect and mitigate CVE-2022-36944 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.13.0 before 2.13.9

Fixed versions

  • 2.13.9

Solution

Upgrade to version 2.13.9 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.scala-lang/scala-library/CVE-2022-36944.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.