{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-36944","id":"CVE-2022-36944","title":"Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object 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.","descriptionLong":"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":"2022-09-23T00:00:00.000Z","updated":"2026-10-28T02:30:43.209114221Z","reserved":"2022-07-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.scala-lang:scala-library","purl":"pkg:maven/org.scala-lang/scala-library","ranges":[">=2.13.0 <2.13.9"],"fixed":["2.13.9"],"advisory":"GHSA-8qv5-68g4-248j"}],"cwes":["CWE-502"],"aliases":["GHSA-8qv5-68g4-248j"],"references":[{"url":"https://www.scala-lang.org/download/","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/scala/scala/pull/10118","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://discuss.lightbend.com/t/impact-of-cve-2022-36944-on-akka-cluster-akka-actor-akka-remote/10007/2","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/scala/scala-collection-compat/releases/tag/v2.9.0","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36944.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36944","tags":["advisory"]},{"url":"https://github.com/scala/scala","tags":["package"]},{"url":"https://github.com/scala/scala/releases/tag/v2.13.9","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6ZOZVWY3X72FZZCCRAKRJYTQOJ6LUD6Z","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L3WMKPFAMFQE3HJVRQ5KOJUTWG264SXI","tags":["web"]},{"url":"https://www.scala-lang.org/download","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.11678,"epssPercentile":0.96147,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-36944","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36944","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-36944","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8qv5-68g4-248j","ok":true,"note":"GHSA-8qv5-68g4-248j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-36944","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 12% with CVSS 9.8"],"attention":null}