Scala 2.13 releases before 2.13.9 include a Java deserialization gadget chain in the Scala JAR. The chain is not independently exploitable; exploitation depends on an application deserializing attacker-controlled Java serialized objects while the vulnerable Scala library is available. In that context, the gadget chain can invoke Scala Function0 functions and can be used to erase arbitrary file contents, initiate network connections, or potentially achieve arbitrary code execution.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is a proof-of-concept exploit for CVE-2022-36944, a Java deserialization vulnerability affecting org.scala-lang:scala-library versions 2.13.x before 2.13.9. The exploit leverages a gadget chain involving Scala's LazyList class to generate a serialized payload that, when deserialized by a vulnerable application, can truncate (zero out) arbitrary files on the victim's machine. The repository is structured as a Maven Java project, with main exploit logic in 'src/main/java/poc/cve/lazylist/payload/Main.java' and supporting classes for payload generation and reflection utilities. The exploit is not weaponized but demonstrates the vulnerability's impact and provides utilities to generate and test payloads. The README provides detailed build and usage instructions, including how to generate payloads and test them against a sample victim class. The attack vector is Java deserialization, and the main fingerprintable endpoints are file paths specified by the attacker for truncation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Scala deserialization gadget-chain vulnerability addressed in the Red Hat AMQ Streams 2.4.0 security update.
A deserialization gadget-chain vulnerability in Scala.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.