CVE-2022-36944
CRITICAL 9.8CVSS 3.1Scala 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | scala-lang | scalacpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:* |
>= 2.13.0, < 2.13.9 | 2.13.9 |
| NVD | scala-lang | scala-collection-compatcpe:2.3:a:scala-lang:scala-collection-compat:*:*:*:*:*:*:*:* |
< 2.9.0 | 2.9.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| OSV | Maven | org.scala-lang:scala-library | >= 2.13.0, < 2.13.9 | 2.13.9 |
References
- https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2 · Third Party Advisory, WEB
- https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/scala/scala/pull/10118 · Exploit, Patch, Third Party Advisory, 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/
- https://www.scala-lang.org/download/ · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-36944 · ADVISORY
- https://github.com/scala/scala · PACKAGE
- 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
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)