usn-6931-1
Vulnerability from osv_ubuntu
Published
2024-07-31 05:06
Modified
2026-04-27 14:11
Summary
openjdk-17 vulnerabilities
Details

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)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-21131",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21140",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21145",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21147",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "openjdk-17-demo",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          },
          {
            "binary_name": "openjdk-17-jdk",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          },
          {
            "binary_name": "openjdk-17-jdk-headless",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          },
          {
            "binary_name": "openjdk-17-jre",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          },
          {
            "binary_name": "openjdk-17-jre-headless",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          },
          {
            "binary_name": "openjdk-17-jre-zero",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          },
          {
            "binary_name": "openjdk-17-source",
            "binary_version": "17.0.12+7-1ubuntu2~20.04"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "openjdk-17",
        "purl": "pkg:deb/ubuntu/openjdk-17@17.0.12+7-1ubuntu2~20.04?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.0.12+7-1ubuntu2~20.04"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "17+35-1~20.04",
        "17.0.1+12-1~20.04",
        "17.0.2+8-1~20.04",
        "17.0.3+7-0ubuntu0.20.04.1",
        "17.0.4+8-1~20.04",
        "17.0.5+8-2ubuntu1~20.04",
        "17.0.6+10-0ubuntu1~20.04.1",
        "17.0.7+7~us1-0ubuntu1~20.04",
        "17.0.8+7-1~20.04.2",
        "17.0.8.1+1~us1-0ubuntu1~20.04",
        "17.0.9+9-1~20.04",
        "17.0.10+7-1~20.04.1",
        "17.0.11+9-1~20.04.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-21131",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21140",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21145",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21147",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "openjdk-17-demo",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          },
          {
            "binary_name": "openjdk-17-jdk",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          },
          {
            "binary_name": "openjdk-17-jdk-headless",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          },
          {
            "binary_name": "openjdk-17-jre",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          },
          {
            "binary_name": "openjdk-17-jre-headless",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          },
          {
            "binary_name": "openjdk-17-jre-zero",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          },
          {
            "binary_name": "openjdk-17-source",
            "binary_version": "17.0.12+7-1ubuntu2~22.04"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "openjdk-17",
        "purl": "pkg:deb/ubuntu/openjdk-17@17.0.12+7-1ubuntu2~22.04?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.0.12+7-1ubuntu2~22.04"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "17+35-1",
        "17.0.1+12-1",
        "17.0.2+8-1",
        "17.0.3+7-0ubuntu0.22.04.1",
        "17.0.4+8-1~22.04",
        "17.0.5+8-2ubuntu1~22.04",
        "17.0.6+10-0ubuntu1~22.04",
        "17.0.7+7~us1-0ubuntu1~22.04.2",
        "17.0.8+7-1~22.04",
        "17.0.8.1+1~us1-0ubuntu1~22.04",
        "17.0.9+9-1~22.04",
        "17.0.10+7-1~22.04.1",
        "17.0.11+9-1~22.04.1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-21131",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21140",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21145",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-21147",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "openjdk-17-demo",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          },
          {
            "binary_name": "openjdk-17-jdk",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          },
          {
            "binary_name": "openjdk-17-jdk-headless",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          },
          {
            "binary_name": "openjdk-17-jre",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          },
          {
            "binary_name": "openjdk-17-jre-headless",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          },
          {
            "binary_name": "openjdk-17-jre-zero",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          },
          {
            "binary_name": "openjdk-17-source",
            "binary_version": "17.0.12+7-1ubuntu2~24.04"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "openjdk-17",
        "purl": "pkg:deb/ubuntu/openjdk-17@17.0.12+7-1ubuntu2~24.04?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.0.12+7-1ubuntu2~24.04"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "17.0.9~6ea-1",
        "17.0.9+9-1",
        "17.0.9+9-2",
        "17.0.10~6ea-1",
        "17.0.10+7-1",
        "17.0.11~7ea-1",
        "17.0.11~7ea-1build1",
        "17.0.11+9-1"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that the Hotspot component of OpenJDK 17 was not properly\nbounding certain UTF-8 strings, which could lead to a buffer overflow. An\nattacker could possibly use this issue to cause a denial of service or\nexecute arbitrary code. (CVE-2024-21131)\n\nIt was discovered that the Hotspot component of OpenJDK 17 could be made to\nrun into an infinite loop. If an automated system were tricked into\nprocessing excessively large symbols, an attacker could possibly use this\nissue to cause a denial of service. (CVE-2024-21138)\n\nIt was discovered that the Hotspot component of OpenJDK 17 did not \nproperly perform range check elimination. An attacker could possibly use \nthis issue to cause a denial of service, execute arbitrary code or bypass\nJava sandbox restrictions. (CVE-2024-21140)\n\nSergey Bylokhov discovered that OpenJDK 17 did not properly manage memory\nwhen handling 2D images. An attacker could possibly use this issue to\nobtain sensitive information. (CVE-2024-21145)\n\nIt was discovered that the Hotspot component of OpenJDK 17 incorrectly\nhandled memory when performing range check elimination under certain\ncircumstances. An attacker could possibly use this issue to cause a \ndenial of service, execute arbitrary code or bypass Java sandbox \nrestrictions. (CVE-2024-21147)\n",
  "id": "USN-6931-1",
  "modified": "2026-04-27T14:11:35Z",
  "published": "2024-07-31T05:06:24Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6931-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21131"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21138"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21140"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21145"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-21147"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "openjdk-17 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2024-21131",
    "UBUNTU-CVE-2024-21138",
    "UBUNTU-CVE-2024-21140",
    "UBUNTU-CVE-2024-21145",
    "UBUNTU-CVE-2024-21147"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…