Advisory

USN-7254-1

Also known as: CVE-2025-21502

Summary

openjdk-21 vulnerability

Details

It was discovered that the Hotspot component of OpenJDK 21 did not properly
handle API access under certain circumstances. An unauthenticated attacker
could possibly use this issue to access unauthorized resources and expose
sensitive information.

Severity

Not rated by the source.

Dates

Published
2025-02-05 04:27 UTC
Modified
2026-04-27 17:43 UTC

Affected packages and fixes

openjdk-21

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 21.0.6+7-1~20.04.1 (ecosystem)

Fixed versions

21.0.6+7-1~20.04.1

Fix

  • Fixed version 21.0.6+7-1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openjdk-21

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 21.0.6+7-1~22.04.1 (ecosystem)

Fixed versions

21.0.6+7-1~22.04.1

Fix

  • Fixed version 21.0.6+7-1~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openjdk-21

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 21.0.6+7-1~24.04.1 (ecosystem)

Fixed versions

21.0.6+7-1~24.04.1

Fix

  • Fixed version 21.0.6+7-1~24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences