Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-36944

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-36944
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:47 UTC · Revision 1

Source evidence

CVE-2022-36944

core-osv · Original source

Published 23 Sept 2022, 00:00 UTC

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.

osv:CVE-2022-36944
Complete source record
{
  "id": "2f8012e33e178b59391712c00a4f43c778c2d295d7edee969df84865d2014b55",
  "url": "https://osv.dev/vulnerability/CVE-2022-36944",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-36944",
    "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.",
    "evidence": "osv:CVE-2022-36944",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-36944",
      "aliases": [
        "CVE-2022-36944",
        "GHSA-8qv5-68g4-248j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/scala/scala",
              "type": "GIT",
              "events": [
                {
                  "introduced": "43e040ff7e4ba92ccf223e77540580b32c1473c0"
                },
                {
                  "fixed": "986dcc160aab85298f6cab0bf8dd0345497cdc01"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.13.x"
                      },
                      {
                        "fixed": "2.13.9"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:scala-lang:scala:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.13.0"
                      },
                      {
                        "fixed": "2.13.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/scala/scala-collection-compat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "974b3a79efb3e3be846937734ebbfc8fbf050241"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:scala-lang:scala-collection-compat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.9.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "974b3a79efb3e3be846937734ebbfc8fbf050241"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.9.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.13.8",
            "v2.13.7",
            "v2.13.6",
            "v2.13.5",
            "v2.13.4",
            "v2.13.3",
            "v2.13.2",
            "v2.13.1",
            "v2.13.0",
            "v2.8.1",
            "v2.8.0",
            "v2.7.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.0",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.3-RC3",
            "v2.1.3-RC2",
            "v2.1.3-RC1",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0",
            "v1.0.0",
            "v0.3.0",
            "v0.2.2",
            "v0.2.0",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-36944.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.209114221Z",
      "provider": "osv",
      "references": [
        "https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2",
        "https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0",
        "https://www.scala-lang.org/download/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36944.json",
        "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://nvd.nist.gov/vuln/detail/CVE-2022-36944",
        "https://github.com/scala/scala/pull/10118"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36944.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-36944",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510825,
  "published_at": "2022-09-23T00:00:00+00:00"
}