CVE-2023-46122
LOWsbt < 1.9.7 - Path Traversal and Arbitrary File Write via IO.unzip
Title source: llmDescription
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.
References (4)
Core 4
Core References
Exploit, Patch, Third Party Advisory x_refsource_confirm
https://github.com/sbt/sbt/security/advisories/GHSA-h9mw-grgx-2fhf
Issue Tracking, Patch x_refsource_misc
https://github.com/sbt/io/issues/358
Patch x_refsource_misc
https://github.com/sbt/io/pull/360
Patch x_refsource_misc
https://github.com/sbt/io/commit/124538348db0713c80793cb57b915f97ec13188a
Scores
CVSS v3
3.9
EPSS
0.0034
EPSS Percentile
25.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-22
Status
published
Products (6)
org.scala-sbt/io_2.12
1.0.0 - 1.9.7Maven
org.scala-sbt/io_2.13
1.0.0 - 1.9.7Maven
org.scala-sbt/io_3
1.0.0 - 1.9.7Maven
org.scala-sbt/sbt
0.3.4 - 1.9.7Maven
scala-sbt/io
1.0.0 - 1.9.7
scala-sbt/sbt
0.3.4 - 1.9.7
Published
Oct 23, 2023
Tracked Since
Feb 18, 2026