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
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/scala/scala/pull/10118 | nvd | 2022-09-23 |
| https://github.com/yarocher/lazylist-cve-poc | poc-in-github | 2023-05-16 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| 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
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| scala/scala | package, pull, releases | yes | /v1/repositories/scala/scala |
| scala/scala-collection-compat | releases | yes | /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