CVE-2022-36944

NameCVE-2022-36944
DescriptionScala 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
scala (PTS)bullseye2.11.12-4fixed
sid, trixie, bookworm2.11.12-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
scalasource(unstable)(not affected)

Notes

- scala <not-affected> (Vulnerable code introduced later)
https://github.com/scala/scala/pull/10118
https://github.com/scala/scala/commit/f24c226211eb340c999d810013efbff35a49863f (v2.13.9)

Search for package or bug name: Reporting problems