Vulnerability Details : CVE-2021-41041
In Eclipse Openj9 before version 0.32.0, Java 8 & 11 fail to throw the exception captured during bytecode verification when verification is triggered by a MethodHandle invocation, allowing unverified methods to be invoked using MethodHandles.
Products affected by CVE-2021-41041
- cpe:2.3:a:oracle:java_se:8:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:java_se:11:*:*:*:*:*:*:*
- cpe:2.3:a:eclipse:openj9:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-41041
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 40 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-41041
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2021-41041
-
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.Assigned by:
- emo@eclipse.org (Secondary)
- nvd@nist.gov (Primary)
-
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.Assigned by: emo@eclipse.org (Secondary)
-
The product uses or accesses a resource that has not been initialized.Assigned by: emo@eclipse.org (Secondary)
References for CVE-2021-41041
-
https://bugs.eclipse.org/bugs/show_bug.cgi?id=579744
579744 – OpenJ9 allows unverified methods to be invoked using MethodHandlesIssue Tracking;Third Party Advisory
-
https://github.com/eclipse-openj9/openj9/pull/14935
Add the exception check for initializeClassIfNeeded() by pshipton · Pull Request #14935 · eclipse-openj9/openj9 · GitHubPatch;Third Party Advisory
Jump to