CVE-2022-36944 Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object deserialization
CriticalCVSS 9.8
EPSS 11.7%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/scala(Ubuntu 22.04) | = 2.11.12-5; All versions | No fix listed | No fix yet |
| ubuntu/scala(Ubuntu 24.04) | = 2.11.12-5; All versions | No fix listed | No fix yet |
| ubuntu/scala(Ubuntu 25.04) | = 2.11.12-5; = 2.11.12-6; All versions | No fix listed | No fix yet |
| ubuntu/scala(Ubuntu Pro 16.04) | = 2.11.6-1; = 2.11.6-2; = 2.11.6-3; = 2.11.6-4 +2 more | No fix listed | No fix yet |
| ubuntu/scala(Ubuntu Pro 18.04) | = 2.11.8-2; = 2.11.12-1; = 2.11.12-2; = 2.11.12-4~18.04 +1 more | No fix listed | No fix yet |
| ubuntu/scala(Ubuntu Pro 20.04) | = 2.11.12-4; All versions | No fix listed | No fix yet |
| org.scala-lang/scala-library(Maven) | = 2.13.0; = 2.13.1; = 2.13.2; = 2.13.3 +6 more | 2.13.9 | Fixed |
| scala-lang scala | >= 2.13.0, < 2.13.9 | 2.13.9 | Fixed |
| scala-lang scala-collection-compat | < 2.9.0 | 2.9.0 | Fixed |
| fedoraproject fedora | = 35; = 36 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.scala-lang/scala-library(Maven) | >= 2.13.0, < 2.13.9 | 2.13.9 |
| org.scala-lang/scala-library(Maven) | = 2.13.0 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.1 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.2 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.3 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.4 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.5 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.6 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.7 | No fix listed |
| org.scala-lang/scala-library(Maven) | = 2.13.8 | No fix listed |
| scala-lang scala | >= 2.13.0, < 2.13.9 | 2.13.9 |
| scala-lang scala-collection-compat | < 2.9.0 | 2.9.0 |
| fedoraproject fedora | = 35 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/scala(Ubuntu:Pro:16.04) | = 2.11.6-1 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:16.04) | = 2.11.6-2 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:16.04) | = 2.11.6-3 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:16.04) | = 2.11.6-4 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:16.04) | = 2.11.6-6 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/scala(Ubuntu:Pro:18.04) | = 2.11.8-2 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:18.04) | = 2.11.12-1 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:18.04) | = 2.11.12-2 | No fix listed |
| ubuntu/scala(Ubuntu:Pro:18.04) | = 2.11.12-4~18.04 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/scala(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/scala(Ubuntu:Pro:20.04) | = 2.11.12-4 | No fix listed |
| ubuntu/scala(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/scala(Ubuntu:22.04) | = 2.11.12-5 | No fix listed |
| ubuntu/scala(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/scala(Ubuntu:24.04) | = 2.11.12-5 | No fix listed |
| ubuntu/scala(Ubuntu:25.04) | All versions | No fix listed |
| ubuntu/scala(Ubuntu:25.04) | = 2.11.12-5 | No fix listed |
| ubuntu/scala(Ubuntu:25.04) | = 2.11.12-6 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- www.scala-lang.org issue-tracking vendor-advisory
- github.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- discuss.lightbend.com third-party-advisory
- github.com release-notes third-party-advisory
- github.com
- github.com product
- FEDORA-2022-34acf878fb vendor-advisory
- FEDORA-2022-07dd9375b2 vendor-advisory
- Debian Security Tracker CVE-2022-36944 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking