Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CVE-2023-50572: Found this vulnerability in scala-compiler-2.13.12 #12969

Closed
devanshraghuvanshi opened this issue Mar 14, 2024 · 2 comments
Closed

Comments

@devanshraghuvanshi
Copy link

devanshraghuvanshi commented Mar 14, 2024

Reproduction steps

scala-compiler-2.13.12 has jline-3.22.0.jar as a dependency which is having vulnerabilty:
https://www.mend.io/vulnerability-database/CVE-2023-50572.

Problem

How can we remediate this vulnerability (https://www.mend.io/vulnerability-database/CVE-2023-50572).

Also, 2.13.13 version of scala compiler which is using jline 3.24.1 is also vulnerable and it needs to be shifted to above jline version 3.25.0.

@lrytz
Copy link
Member

lrytz commented Mar 14, 2024

IIUC, the corresponding bug (jline/jline3#909) is in GroovyEngine, which we don't use. That class is even in a separate artifact org.jline:jline-groovy which we don't depend on.

If there's a way this bug can be triggered in Scala, please re-open.

@lrytz lrytz closed this as completed Mar 14, 2024
@lrytz lrytz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
@SethTisue
Copy link
Member

I second Lukas that the vulnerable class does not exist in the JAR we depend on.

Regardless, we expect to release Scala 2.13.14 soon, like within the next few weeks, and it will include the JLine 3.25.1 upgrade, as per #12933 . So at that point even the appearance of an issue will vanish.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants