Kris Shaw - Thanks for reaching Microsoft QnA platform
To address the vulnerabilities CVE-2022-34169, CVE-2023-25149, and CVE-2025-39898 on your RedHat 8.10 Azure Virtual Machine, follow these steps:
- Update Java: Ensure that you have the latest updates for Oracle Java SE and GraalVM. You can do this by checking the Oracle website for the latest patches related to the mentioned CVEs. Use the following command to check for available updates:
Bash
sudo dnf update java-*-openjdk
If you are using Oracle's Java, ensure you download the latest version directly from Oracle's site and follow their installation instructions.
- Kernel Update: For the kernel vulnerability (CVE-2025-39898), ensure that your system is running the latest kernel version. You can check for kernel updates using:
Bash
sudo dnf update kernel
After updating, reboot your system to apply the changes:
Bash
sudo reboot
- Re-scan: After performing the updates, run your security scan again to verify that the vulnerabilities have been remediated.
- Regular Maintenance: To prevent future vulnerabilities, regularly check for updates and apply them promptly. You can automate this process using Azure Automation Update Management or configure your system to check for updates automatically.
By following these steps, you should be able to bring your Azure VM into compliance regarding the specified vulnerabilities.
References: