{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.0"
              },
              {
                "fixed": "16.3.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "280a09dbca836a6eedf5da1e63953fe8da44bf4c"
            },
            {
              "fixed": "128862473d18a7df991090bb25688a8c81fcb0fe"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.4"
              },
              {
                "fixed": "16.4.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"
            },
            {
              "fixed": "385b9a2727ad972efe1fcdca3a61c447329ecd09"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.5"
              },
              {
                "fixed": "16.5.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "fc87c9d4cca1536abcf902b4128f5c2004d87162"
            },
            {
              "fixed": "55da9ccb652fcf67641114264ecded0dab88f4dc"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-201"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5831.json"
  },
  "details": "An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.0 before 16.3.6, all versions starting from 16.4 before 16.4.2, and all versions starting from 16.5.0 before 16.5.1 which have the `super_sidebar_logged_out` feature flag enabled. Affected versions with this default-disabled feature flag enabled may unintentionally disclose GitLab version metadata to unauthorized actors.",
  "id": "CVE-2023-5831",
  "modified": "2026-04-01T23:10:34.076484667Z",
  "published": "2023-11-06T10:30:28.442Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5831.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5831"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/428919"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Insertion of Sensitive Information Into Sent Data in GitLab"
}