Buffer Overflow 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% (18th 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-7462100
  • 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 Buffer Overflow due to improper handling of UTF8 size calculations. An attacker can cause a disruption of service by sending specially crafted inputs that exploit this overflow condition.

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)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None