Lucene search

K
nvd[email protected]NVD:CVE-2023-46122
HistoryOct 23, 2023 - 4:15 p.m.

CVE-2023-46122

2023-10-2316:15:09
CWE-22
web.nvd.nist.gov
1
sbt
scala
java
vulnerability
file overwrite
patch

CVSS3

7.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

AI Score

5.5

Confidence

High

EPSS

0

Percentile

13.2%

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 configurations

Nvd
Node
scala-sbtioRange1.0.01.9.7sbt
OR
scala-sbtsbtRange0.3.41.9.7
VendorProductVersionCPE
scala-sbtio*cpe:2.3:a:scala-sbt:io:*:*:*:*:*:sbt:*:*
scala-sbtsbt*cpe:2.3:a:scala-sbt:sbt:*:*:*:*:*:*:*:*

CVSS3

7.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

AI Score

5.5

Confidence

High

EPSS

0

Percentile

13.2%