{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-46122","published":"2023-10-23T16:15:09.383000Z","last_modified":"2026-06-17T06:30:11.763000Z","status":"Modified","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:scala-sbt:io:*:*:*:*:*:sbt:*:*","part":"a","vendor":"scala-sbt","product":"io","version_start_including":"1.0.0","version_end_excluding":"1.9.7"},{"criteria":"cpe:2.3:a:scala-sbt:sbt:*:*:*:*:*:*:*:*","part":"a","vendor":"scala-sbt","product":"sbt","version_start_including":"0.3.4","version_end_excluding":"1.9.7"}],"cpes_truncated":false,"vendors":["scala-sbt"],"products":["scala-sbt/io","scala-sbt/sbt"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00362,"percentile":0.22287,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h9mw-grgx-2fhf","ecosystem":"Maven","name":"org.scala-sbt:io_2.12","purl":"pkg:maven/org.scala-sbt/io_2.12","ranges":[{"introduced":"1.0.0","fixed":"1.9.7"}],"versions":["1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.1.10","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.2.0","1.2.0-M1","1.2.0-M2","1.2.1","1.2.2","1.3.0","1.3.0-M1","1.3.0-M10","1.3.0-M11","1.3.0-M12","1.3.0-M13","1.3.0-M14","1.3.0-M15","1.3.0-M16","1.3.0-M17","1.3.0-M18","1.3.0-M2","1.3.0-M3","1.3.0-M4","1.3.0-M5","1.3.0-M6","1.3.0-M7","1.3.0-M8","1.3.0-M9","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0","1.4.0-M1","1.4.0-M2","1.4.0-M3","1.4.0-M4","1.4.0-M5","1.4.0-M6","1.4.0-M7","1.4.0-M8","1.5.0","1.5.0-M1","1.5.1","1.6.0","1.6.0-M1","1.6.0-M2","1.7.0","1.8.0","1.8.1","1.9.0","1.9.0-M1","1.9.0-RC3","1.9.1"],"versions_truncated":false},{"advisory":"GHSA-h9mw-grgx-2fhf","ecosystem":"Maven","name":"org.scala-sbt:io_2.13","purl":"pkg:maven/org.scala-sbt/io_2.13","ranges":[{"introduced":"1.0.0","fixed":"1.9.7"}],"versions":["1.3.0","1.3.0-M11","1.3.0-M12","1.3.0-M13","1.3.0-M14","1.3.0-M15","1.3.0-M16","1.3.0-M17","1.3.0-M18","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0","1.4.0-M1","1.4.0-M2","1.4.0-M3","1.4.0-M4","1.4.0-M5","1.4.0-M6","1.4.0-M7","1.4.0-M8","1.5.0","1.5.0-M1","1.5.1","1.6.0","1.6.0-M1","1.6.0-M2","1.7.0","1.8.0","1.8.1","1.9.0","1.9.0-M1","1.9.0-RC3","1.9.1"],"versions_truncated":false},{"advisory":"GHSA-h9mw-grgx-2fhf","ecosystem":"Maven","name":"org.scala-sbt:io_3","purl":"pkg:maven/org.scala-sbt/io_3","ranges":[{"introduced":"1.0.0","fixed":"1.9.7"}],"versions":["1.6.0","1.6.0-M2","1.7.0","1.8.0","1.8.1","1.9.0","1.9.0-M1","1.9.0-RC3","1.9.1"],"versions_truncated":false},{"advisory":"GHSA-h9mw-grgx-2fhf","ecosystem":"Maven","name":"org.scala-sbt:sbt","purl":"pkg:maven/org.scala-sbt/sbt","ranges":[{"introduced":"0.3.4","fixed":"1.9.7"}],"versions":["0.99.2","0.99.4","1.0.0","1.0.0-M1","1.0.0-M2","1.0.0-M3","1.0.0-M4","1.0.0-M5","1.0.0-M6","1.0.0-RC1","1.0.0-RC2","1.0.0-RC3","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.1.0-M1","1.1.0-RC1","1.1.0-RC2","1.1.0-RC3","1.1.0-RC4","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.0-M1","1.2.0-RC1","1.2.0-RC2","1.2.0-RC3","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.3.0","1.3.0-M1","1.3.0-M2","1.3.0-M3","1.3.0-M4","1.3.0-M5","1.3.0-M5-94d5ec","1.3.0-RC1","1.3.0-RC2","1.3.0-RC3","1.3.0-RC4","1.3.0-RC5","1.3.1","1.3.10","1.3.11","1.3.12","1.3.13","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.4.0","1.4.0-M1","1.4.0-M2","1.4.0-RC1","1.4.0-RC2","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5.0","1.5.0-M1","1.5.0-M2","1.5.0-RC1","1.5.0-RC2","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.6.0","1.6.0-M1","1.6.0-RC1","1.6.0-RC2","1.6.1","1.6.2","1.7.0","1.7.0-M1","1.7.0-M2","1.7.0-M2-6810fix","1.7.0-M3","1.7.0-RC1","1.7.0-RC2","1.7.1","1.7.2","1.7.3","1.8.0","1.8.0-RC1","1.8.1","1.8.2","1.8.3","1.9.0","1.9.0-M1","1.9.0-RC1","1.9.0-RC2","1.9.0-RC3","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6"],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2023-46122/","html_en":"/en/cve/CVE-2023-46122/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-46122","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-46122"},"untrusted":{"vendor_name":"Scala-sbt","product_name":"Io","desc_en":"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.","affected":[{"untrusted_vendor":"sbt","untrusted_product":"sbt","versions":[]}],"references":[{"url":"https://github.com/sbt/io/commit/124538348db0713c80793cb57b915f97ec13188a","tags":["Patch"]},{"url":"https://github.com/sbt/io/issues/358","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/sbt/io/pull/360","tags":["Patch"]},{"url":"https://github.com/sbt/sbt/security/advisories/GHSA-h9mw-grgx-2fhf","tags":["Exploit","Patch","Third Party Advisory"]}]}}