CVE-2023-46122 - CVE House
Back to Database
Status published Low CVE-2023-46122

Arbitrary file write via archive extraction (Zip Slip) vulnerability in sbt

Vulnerability Description

sbt is a build tool for Scala, Java, and others. Given a specially crafted zip or JAR file, `IO.unzip` allows writing of arbitrary file. This would have potential to overwrite `/root/.ssh/authorized_keys`. Within sbt's main code, `IO.unzip` is used in `pullRemoteCache` task and `Resolvers.remote`; however many projects use `IO.unzip(...)` directly to implement custom tasks. This vulnerability has been patched in version 1.9.7.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-46122

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

sbt
Vulnerable Versions:
>= 0.3.4, < 1.9.7

Timeline

Official Publish: October 23rd, 2023
Last Modified: September 17th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)