GHSA-8qv5-68g4-248j

    Dashboard / Vulnerabilities / GHSA-8qv5-68g4-248j

    GHSA-8qv5-68g4-248j

    Published: 25 Sept 2022Last Modified: 10 Sept 2026

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

    Details: 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 packages

    Package

    Name: org.scala-lang:scala-library

    Purl: pkg:maven/org.scala-lang/scala-library

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.13.0
    Fixed -2.13.9

    Affected versions

    2.13.0
    2.13.1
    2.13.2
    2.13.3
    2.13.4
    2.13.5
    2.13.6
    2.13.7
    2.13.8

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-8qv5-68g4-248j | CVE-DB