ADVISORIES

openEuler Security Advisory

OESA-2024-2422

sbt security update

Details

sbt is the simple build tool for Scala and Java projects.

Security Fix(es):

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.(CVE-2023-46122)

Affected packages

EcosystemPackageAffected versions
openEuler:24.03-LTSsbt
All versions before 0.13.1-6.oe2403 (fixed in 0.13.1-6.oe2403)
openEuler:22.03-LTS-SP4sbt
All versions before 0.13.1-3.oe2203sp4 (fixed in 0.13.1-3.oe2203sp4)
openEuler:22.03-LTS-SP3sbt
All versions before 0.13.1-3.oe2203sp3 (fixed in 0.13.1-3.oe2203sp3)
openEuler:20.03-LTS-SP4sbt
All versions before 0.13.1-3.oe2003sp4 (fixed in 0.13.1-3.oe2003sp4)
openEuler:22.03-LTS-SP1sbt
All versions before 0.13.1-3.oe2203sp1 (fixed in 0.13.1-3.oe2203sp1)

References