Security mailing lists by PureSourceCode

CVE-2023-46122

HIGH 7.1CVSS 3.1

sbt vulnerable to arbitrary file write via archive extraction (Zip Slip)

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.

Published
23 Oct 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-h9mw-grgx-2fhf
Sources
NVDJSONOSV GHSA-h9mw-grgx-2fhfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 LOW 3.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD scala-sbt io
cpe:2.3:a:scala-sbt:io:*:*:*:*:*:sbt:*:*
>= 1.0.0, < 1.9.7 1.9.7
NVD scala-sbt sbt
cpe:2.3:a:scala-sbt:sbt:*:*:*:*:*:*:*:*
>= 0.3.4, < 1.9.7 1.9.7
OSV Maven org.scala-sbt:sbt >= 0.3.4, < 1.9.7 1.9.7
OSV Maven org.scala-sbt:io_2.12 >= 1.0.0, < 1.9.7 1.9.7
OSV Maven org.scala-sbt:io_2.13 >= 1.0.0, < 1.9.7 1.9.7
OSV Maven org.scala-sbt:io_3 >= 1.0.0, < 1.9.7 1.9.7

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 23 Oct 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Oct 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.