Moderate: java-1.8.0-openjdk security update
Summary
ALSA-2024:1818: Moderate: java-1.8.0-openjdk security update. Affects java-1.8.0-openjdk versions < 1:1.8.0.412.b08-2.el9. Fixed in 1:1.8.0.412.b08-2.el9. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The java-1.8.0-openjdk packages provide the OpenJDK 8 Java Runtime Environment and the OpenJDK 8 Java Software Development Kit. These packages are used for running Java applications and developing Java software. The vulnerability described in this report affects the java-1.8.0-openjdk package in AlmaLinux 9.
Vulnerability Detail
The vulnerability identified in the java-1.8.0-openjdk package is considered moderate. It includes the following security fixes:
- CVE-2024-21011: This vulnerability is caused by a long exception message that can lead to a crash.
- CVE-2024-21068: An integer overflow in the C1 compiler address generation can be exploited.
- CVE-2024-21085: Excessive memory allocation in Pack200 can be abused.
- CVE-2024-21094: C2 compilation fails with the error message 'Exceeded _node_regs array'.
These vulnerabilities can potentially lead to crashes, memory allocation issues, and compiler failures, which may result in denial of service or the execution of arbitrary code.
How To Fix
Minimum fixed version
1:1.8.0.412.b08-2.el9
This is the first release that contains the fix.
sudo dnf update java-1.8.0-openjdk
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There are no specific workarounds mentioned for these vulnerabilities. It is recommended to apply the security update as soon as possible.
Conclusion
In conclusion, the java-1.8.0-openjdk package in AlmaLinux 9 is affected by several moderate vulnerabilities. To mitigate these vulnerabilities, it is recommended to update the package to version 1.8.0.412.b08-2.el9 or later. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for java-1.8.0-openjdk →
FAQ
These vulnerabilities can potentially lead to crashes, memory allocation issues, and compiler failures, which may result in denial of service or the execution of arbitrary code.
Yes, all versions of java-1.8.0-openjdk in AlmaLinux 9 are affected. It is recommended to update to version 1.8.0.412.b08-2.el9 or later.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and it will provide real-time monitoring and alerts for open-source vulnerabilities.
Yes, a fix is available. It is recommended to update the java-1.8.0-openjdk package to version 1.8.0.412.b08-2.el9 or later.
You can find more information about these vulnerabilities, including their impact, CVSS scores, acknowledgments, and related information, on the respective CVE pages: CVE-2024-21011, CVE-2024-21068, CVE-2024-21085, CVE-2024-21094.
Related vulnerabilities
Recent vulnerabilities recorded for java-1.8.0-openjdk.