Loop with Unreachable Exit Condition ('Infinite Loop') Affecting org.graalvm.sdk:graal-sdk package, versions [17.0.11,17.0.12) [21.0.3,21.0.4) [22.0.1,22.0.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGGRAALVMSDK-7462098
  • published 17 Jul 2024
  • disclosed 16 Jul 2024
  • credit Unknown

How to fix?

Upgrade org.graalvm.sdk:graal-sdk to version 17.0.12, 21.0.4, 22.0.2 or higher.

Overview

org.graalvm.sdk:graal-sdk is a high-performance JDK distribution designed to accelerate the execution of applications written in Java and other JVM languages along with support for JavaScript, Ruby, Python, and a number of other popular languages.

Affected versions of this package are vulnerable to Loop with Unreachable Exit Condition ('Infinite Loop') due to excessive symbol length. An attacker can cause the application to enter an infinite loop by manipulating input data to include overly long symbols.

Exploiting this vulnerability is possible by using the Hotspot APIs through a web service which supplies data to this API. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    Low
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None