Arbitrary Code Injection Affecting openjdk21 package, versions <21.0.3_p9-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (6th 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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE319-OPENJDK21-6673911
  • published25 Apr 2024
  • disclosed20 Feb 2024

Introduced: 20 Feb 2024

CVE-2024-21892  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Alpine:3.19 openjdk21 to version 21.0.3_p9-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjdk21 package and not the openjdk21 package as distributed by Alpine. See How to fix? for Alpine:3.19 relevant fixed versions and status.

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.

CVSS Scores

version 3.1