CVE-2023-46122
Summary
| CVE | CVE-2023-46122 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-10-23 16:15:00 UTC |
| Updated | 2023-10-31 14:52:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.