{
  "threat_severity" : "Moderate",
  "public_date" : "2023-12-19T00:00:00Z",
  "bugzilla" : {
    "description" : "RHDH: catalog-import function leaks credentials to frontend",
    "id" : "2255204",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2255204"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-209",
  "details" : [ "A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.", "A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately." ],
  "statement" : "The vulnerability is assessed with a Moderate impact rating since its exploitation necessitates the user inputting an invalid token.\nRed Hat Developer Hub contains the fix for this vulnerability with Backstage 1.22.",
  "acknowledgement" : "Red Hat would like to thank Josephine Pfeiffer for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "RHDH-1.1-RHEL-9",
    "release_date" : "2024-08-26T00:00:00Z",
    "advisory" : "RHBA-2024:5869",
    "cpe" : "cpe:/a:redhat:rhdh:1.1::el9",
    "package" : "rhdh/rhdh-hub-rhel9:1.1-107.1724038966"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-6944\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-6944" ],
  "name" : "CVE-2023-6944",
  "mitigation" : {
    "value" : "To mitigate this vulnerability until you can update to RHDH 1.1, ensure that the base64 encoded GitLab token does not contain a newline character at the end. Removing the newline from the token prevents the unintended disclosure of the access token through the frontend.",
    "lang" : "en:us"
  },
  "csaw" : false
}