{
  "threat_severity" : "Moderate",
  "public_date" : "2024-07-09T00:00:00Z",
  "bugzilla" : {
    "description" : "rapidjson: privilege escalation via integer underflow in GenericReader::ParseNumber()",
    "id" : "2296854",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2296854"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-191",
  "details" : [ "Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow in the `GenericReader::ParseNumber()` function of `include/rapidjson/reader.h` when parsing JSON text from a stream. An attacker needs to send the victim a crafted file which needs to be opened; this triggers the integer underflow vulnerability (when the file is parsed), leading to elevation of privilege.", "A flaw was found in rapidjson. Processing a crafted JSON text from a stream can cause an integer overflow in the GenericReader::ParseNumber function in the include/rapidjson/reader.h file, resulting in escalation of privileges." ],
  "statement" : "Exploiting this flaw requires an attacker tricking a user into processing or parsing malicious JSON text. As this vulnerability requires user interaction, it has been rated with a moderate severity.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "mysql8.4",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux AI (RHEL AI)",
    "fix_state" : "Not affected",
    "package_name" : "rapidjson",
    "cpe" : "cpe:/a:redhat:enterprise_linux_ai:1"
  }, {
    "product_name" : "Red Hat Openshift Data Foundation 4",
    "fix_state" : "Not affected",
    "package_name" : "odf4/mcg-core-rhel8",
    "cpe" : "cpe:/a:redhat:openshift_data_foundation:4"
  }, {
    "product_name" : "Red Hat OpenStack Platform 17.1",
    "fix_state" : "Will not fix",
    "package_name" : "leatherman",
    "cpe" : "cpe:/a:redhat:openstack:17.1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-38517\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-38517\nhttps://github.com/Tencent/rapidjson/pull/1261/commits/8269bc2bc289e9d343bae51cdf6d23ef0950e001\nhttps://github.com/fmalita/rapidjson/commit/8269bc2bc289e9d343bae51cdf6d23ef0950e001\nhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38517" ],
  "name" : "CVE-2024-38517",
  "mitigation" : {
    "value" : "Do not process or parse untrusted JSON text with rapidjson.",
    "lang" : "en:us"
  },
  "csaw" : false
}