Security mailing lists by PureSourceCode

CVE-2022-36944

CRITICAL 9.8CVSS 3.1

Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object deserialization

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.

Published
23 Sep 2022
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-502
Also known as
GHSA-8qv5-68g4-248j
Sources
NVDJSONOSV GHSA-8qv5-68g4-248jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD scala-lang scala
cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:*
>= 2.13.0, < 2.13.9 2.13.9
NVD scala-lang scala-collection-compat
cpe:2.3:a:scala-lang:scala-collection-compat:*:*:*:*:*:*:*:*
< 2.9.0 2.9.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
OSV Maven org.scala-lang:scala-library >= 2.13.0, < 2.13.9 2.13.9

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Sep 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.