Scala 2.13.x before 2.13.9 has a Java deserialization chain in its JAR file.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | org.scala-lang:scala-library (Maven) | 2.13.0 to before 2.13.9 | 2.13.9 | Patch available | GHSA-8qv5-68g4-248j |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- org.scala-lang:scala-library (Maven) Vendor— Affected 2.13.0 to before 2.13.9 Fixed in 2.13.9 Patch available GHSA-8qv5-68g4-248j
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:* | 2.13.0 to before 2.13.9 | Vulnerable | Scala-lang |
| cpe:2.3:a:scala-lang:scala-collection-compat:*:*:*:*:*:*:*:* | before 2.9.0 | Vulnerable | Scala-lang |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:* Versions 2.13.0 to before 2.13.9 Vulnerable ·Scala-lang
- cpe:2.3:a:scala-lang:scala-collection-compat:*:*:*:*:*:*:*:* Versions before 2.9.0 Vulnerable ·Scala-lang
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-8qv5-68g4-248j org.scala-lang:scala-library (Maven) Fixed in 2.13.9 Advisory →
Red Hat 2 advisories
- RHSA-2023:5165 Released 2023-09-14 · Red Hat rating ImportantRed Hat AMQ Streams 2.5.0 release and security update
- Red Hat AMQ Streams 2.5.0
- RHSA-2023:3223 Released 2023-05-18 · Red Hat rating ImportantRed Hat AMQ Streams 2.4.0 release and security update
- Red Hat AMQ Streams 2.4.0
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | — |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat AMQ Streams 2.4.0 | Fixed | RHSA-2023:3223 |
| Red Hat AMQ Streams 2.5.0 | Fixed | RHSA-2023:5165 |
Not affected: 5 products
- Red Hat Fuse 7
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat JBoss Fuse 6
Timeline
- 2026-10-02 Threatist record created from CVE-2022-36944
- 2026-10-03 Alias added: GHSA-8qv5-68g4-248j
References
Advisory 6
Other 5
- https://github.com/scala/scala
- https://github.com/scala/scala/releases/tag/v2.13.9
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z
- https://lists.fedoraproject.org/archives/list/[email protected]/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI
- https://www.scala-lang.org/download
Sources
- CVE-2022-36944 · CVE Program
- CVE-2022-36944 · NVD
- FIRST EPSS
- GHSA-8qv5-68g4-248j · GitHub Advisory Database · CC BY 4.0
- CVE-2022-36944 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences