Arbitrary File Write via Archive Extraction (Zip Slip) Affecting org.scala-sbt:io_2.12 package, versions [1.0.0,1.9.7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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 Arbitrary File Write via Archive Extraction (Zip Slip) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSCALASBT-6028321
  • published24 Oct 2023
  • disclosed23 Oct 2023
  • creditkenji yoshida

Introduced: 23 Oct 2023

CVE-2023-46122  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade org.scala-sbt:io_2.12 to version 1.9.7 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) through the IO.unzip function. An attacker can write arbitrary files, potentially overwriting sensitive files such as /root/.ssh/authorized_keys, by providing a specially crafted zip or JAR file.

CVSS Scores

version 3.1