Lucene search

K
githubGitHub Advisory DatabaseGHSA-8QV5-68G4-248J
HistorySep 25, 2022 - 12:00 a.m.

Scala subject to file deletion, code execution due to Java deserialization chain with LazyList object deserialization

2022-09-2500:00:20
CWE-502
GitHub Advisory Database
github.com
29
scala
file deletion
code execution
java deserialization
lazylist object

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.008

Percentile

81.1%

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 LazyList 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.

Affected configurations

Vulners
Node
org.scala-langscala-libraryRange2.13.02.13.9
VendorProductVersionCPE
org.scala-langscala-library*cpe:2.3:a:org.scala-lang:scala-library:*:*:*:*:*:*:*:*

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.008

Percentile

81.1%