Remote Code Execution (RCE) Affecting org.scala-lang:scala-library package, versions [2.13.0,2.13.9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.05% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSCALALANG-3032987
  • published25 Sept 2022
  • disclosed25 Sept 2022
  • creditMarc Bohler

Introduced: 25 Sep 2022

CVE-2022-36944  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.scala-lang:scala-library to version 2.13.9 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to a vulnerable Java deserialization chain when used in conjunction with LazyList object deserialization, which may allow execution of an arbitrary Function0.

CVSS Scores

version 3.1