CVE-2023-46122
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
23/10/2023
Last modified:
31/10/2023
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
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:scala-sbt:io:*:*:*:*:*:sbt:*:* | 1.0.0 (including) | 1.9.7 (excluding) |
| cpe:2.3:a:scala-sbt:sbt:*:*:*:*:*:*:*:* | 0.3.4 (including) | 1.9.7 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



