Skip to main content
VulnerabilityPublished Updated

CVE-2024-21131: openjdk-17 vulnerabilities

Affects openjdk-17Source GCVE Database

0
Compare

Mentioned vulnerabilities

Not known to be exploited · fixed in 17.0.12+7-1ubuntu2~20.04 : update openjdk-17 when convenient.

Data as of 24 Nov 2026, 17:24 UTC

Severity
Unrated

Rated by Threat Radar · No CVSS score from NVD or the CNA

Patch
Available – fixed in 17.0.12+7-1ubuntu2~20.04, 17.0.12+7-1ubuntu2~22.04, 17.0.12+7-1ubuntu2~24.04

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu openjdk-17 to 17.0.12+7-1ubuntu2~20.04 (package) or 17.0.12+7-1ubuntu2~22.04 (package) or 17.0.12+7-1ubuntu2~24.04 (package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSopenjdk-17pkg:deb/ubuntu/openjdk-17?arch=source&distro=nobleOther threatsAffected
  • <17.0.12+7-1ubuntu2~24.04
Fixed in
  • 17.0.12+7-1ubuntu2~24.04
Ubuntu 22.04 LTSopenjdk-17pkg:deb/ubuntu/openjdk-17?arch=source&distro=jammyOther threatsAffected
  • <17.0.12+7-1ubuntu2~22.04
  • =17+35-1
Fixed in
  • 17.0.12+7-1ubuntu2~22.04
Ubuntu 20.04 LTSopenjdk-17pkg:deb/ubuntu/openjdk-17?arch=source&distro=focalOther threatsAffected
  • <17.0.12+7-1ubuntu2~20.04
  • =17+35-1~20.04
Fixed in
  • 17.0.12+7-1ubuntu2~20.04

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

It was discovered that the Hotspot component of OpenJDK 17 was not properly bounding certain UTF-8 strings, which could lead to a buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-21131) It was discovered that the Hotspot component of OpenJDK 17 could be made to run into an infinite loop. If an automated system were tricked into processing excessively large symbols, an attacker could possibly use this issue to cause a denial of service. (CVE-2024-21138) It was discovered that the Hotspot component of OpenJDK 17 did not properly perform range check elimination. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or bypass Java sandbox restrictions. (CVE-2024-21140) Sergey Bylokhov discovered that OpenJDK 17 did not properly manage memory when handling 2D images. An attacker could possibly use this issue to obtain sensitive information. (CVE-2024-21145) It was discovered that the Hotspot component of OpenJDK 17 incorrectly handled memory when performing range check elimination under certain circumstances. An attacker could possibly use this issue to cause a denial of service, execute arbitrary code or bypass Java sandbox restrictions. (CVE-2024-21147)

References

Community reviews

Loading reviews…