Improper Neutralization of Null Byte or NUL Character Affecting java-1.8.0-openjdk-headless package, versions <1:1.8.0.372.b07-1.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.08% (38th 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 IDSNYK-AMZN2-JAVA180OPENJDKHEADLESS-5538504
  • published17 May 2023
  • disclosed18 Apr 2023

Introduced: 18 Apr 2023

CVE-2023-21938  (opens in a new tab)
CWE-158  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 java-1.8.0-openjdk-headless to version 1:1.8.0.372.b07-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2038.

NVD Description

Note: Versions mentioned in the description apply only to the upstream java-1.8.0-openjdk-headless package and not the java-1.8.0-openjdk-headless package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries). Supported versions that are affected are Oracle Java SE: 8u361, 8u361-perf, 11.0.18, 17.0.6, 20; Oracle GraalVM Enterprise Edition: 20.3.8, 21.3.4 and 22.3.0. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability 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. This vulnerability does not apply to Java deployments, typically in servers, that load and run only trusted code (e.g., code installed by an administrator). CVSS 3.1 Base Score 3.7 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).

CVSS Scores

version 3.1