{
  "threat_severity" : "Moderate",
  "public_date" : "2024-04-10T00:00:00Z",
  "bugzilla" : {
    "description" : "mysql2: Improper Input Validation",
    "id" : "2274444",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2274444"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
    "status" : "draft"
  },
  "cwe" : "CWE-20",
  "details" : [ "Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon (:) character within a value of the attacker-crafted key.", "A flaw was found in the MySQL2 npm package. Affected versions of this package are vulnerable to improper input validation through the keyFromFields function, resulting in cache poisoning. This flaw allows an attacker to inject a colon (:) character within a value of the attacker-crafted key." ],
  "statement" : "The Red Hat Developer Hub remains unaffected by this vulnerability since it does not include the vulnerable codebase or version.",
  "package_state" : [ {
    "product_name" : "Red Hat Developer Hub",
    "fix_state" : "Not affected",
    "package_name" : "rhdh-hub-container",
    "cpe" : "cpe:/a:redhat:rhdh:1"
  }, {
    "product_name" : "Red Hat Developer Hub",
    "fix_state" : "Not affected",
    "package_name" : "rhdh-operator-container",
    "cpe" : "cpe:/a:redhat:rhdh:1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-21507\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-21507\nhttps://security.snyk.io/vuln/SNYK-JS-MYSQL2-6591300" ],
  "name" : "CVE-2024-21507",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}