Skip to content

How-to update Java 17 to latest CPU with CVE fixes? #44

@sjsaunde

Description

@sjsaunde

How can one update to latest Java 17 in the container? Cloud vulnerabilities scan says the version of Java is not the latest and to update to Oracle Java Standard Edition (SE) Critical Patch Update - January 2025 (CPUJAN2025).

I can't sudo to run dnf as root inside container and not sure that is even the best method vs. others.

[oracle@2eeb69a6d317 /]$ update-alternatives --list
libnssckbi.so.x86_64	auto  	/usr/lib64/pkcs11/p11-kit-trust.so
java                	auto  	/usr/lib/jvm/jdk-17.0.12-oracle-x64/bin/java
java_jdk_17_oracle  	auto  	/usr/lib/jvm/jdk-17.0.12-oracle-x64
javac               	auto  	/usr/lib/jvm/jdk-17.0.12-oracle-x64/bin/javac
ksh                 	auto  	/usr/bin/ksh93
ld                  	auto  	/usr/bin/ld.bfd
python              	auto  	/usr/libexec/no-python
python3             	manual	/usr/bin/python3.11

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions