CVE-2023-46122

Summary

CVECVE-2023-46122
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-23 16:15:00 UTC
Updated2023-10-31 14:52:00 UTC
Descriptionsbt 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.

Risk And Classification

Problem Types: CWE-22

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Scala-sbt Io All All All All
Application Scala-sbt Sbt All All All All

References

ReferenceSourceLinkTags
Arbitrary file write via archive extraction (Zip Slip) · Advisory · sbt/sbt · GitHub MISC github.com
Merge pull request #360 from eed3si9n/wip/zip_issue · sbt/io@1245383 · GitHub MISC github.com
zip slip vulnerability · Issue #358 · sbt/io · GitHub MISC github.com
Fixes zip-slip vulnerability by eed3si9n · Pull Request #360 · sbt/io · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 755322 SUSE Enterprise Linux Security Update for maven, maven-resolver, sbt, xmvn (SUSE-SU-2023:4527-1)
  • 995698 Java (Maven) Security Update for org.scala-sbt:io_2.12 (GHSA-h9mw-grgx-2fhf)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report