Bug 1216529 (CVE-2023-46122)

Summary: VUL-0: CVE-2023-46122: sbt: 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 mai ...
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P3 - Medium CC: camila.matos, stoyan.manolov
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/382773/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-46122:3.9:(AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2023-10-24 07:28:33 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-46122
Comment 3 Maintenance Automation 2023-11-22 16:30:09 UTC
SUSE-SU-2023:4527-1: An update that solves one vulnerability and has one security fix can now be installed.

Category: security (moderate)
Bug References: 1162112, 1216529
CVE References: CVE-2023-46122
Sources used:
openSUSE Leap 15.4 (src): xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, sbt-0.13.18-150200.4.16.1, sbt-bootstrap-0.13.18-150200.4.16.1, xmvn-parent-4.2.0-150200.3.14.1, maven-3.9.4-150200.4.18.1, xmvn-4.2.0-150200.3.14.1
openSUSE Leap 15.5 (src): xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, sbt-0.13.18-150200.4.16.1, sbt-bootstrap-0.13.18-150200.4.16.1, xmvn-parent-4.2.0-150200.3.14.1, maven-3.9.4-150200.4.18.1, xmvn-4.2.0-150200.3.14.1
Development Tools Module 15-SP4 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
Development Tools Module 15-SP5 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Package Hub 15 15-SP5 (src): sbt-bootstrap-0.13.18-150200.4.16.1, sbt-0.13.18-150200.4.16.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1
SUSE Enterprise Storage 7.1 (src): maven-3.9.4-150200.4.18.1, xmvn-connector-4.2.0-150200.3.14.1, xmvn-mojo-4.2.0-150200.3.14.1, maven-resolver-1.9.15-150200.3.14.2, xmvn-tools-4.2.0-150200.3.14.1, xmvn-4.2.0-150200.3.14.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Fridrich Strba 2024-03-05 11:31:47 UTC
Fixed, reassigning for closing.