CVE-2023-46122
Last modified
CVE-2023-46122 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Scala-Sbt | Io | >= 1.0.0, < 1.9.7 |
| Scala-Sbt | Sbt | >= 0.3.4, < 1.9.7 |
References
- https://github.com/sbt/io/issues/358Issue Tracking, Patch
- https://github.com/sbt/sbt/security/advisories/GHSA-h9mw-grgx-2fhfExploit, Patch, Third Party Advisory
- https://github.com/sbt/io/issues/358Issue Tracking, Patch
- https://github.com/sbt/sbt/security/advisories/GHSA-h9mw-grgx-2fhfExploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-46122?
How severe is CVE-2023-46122?
How do I fix CVE-2023-46122?
Are you affected by CVE-2023-46122?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
