{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "39"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "40"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "4.1.0"
              },
              {
                "fixed": "4.1.11"
              },
              {
                "introduced": "4.2.0"
              },
              {
                "fixed": "4.2.8"
              },
              {
                "introduced": "4.3.0"
              },
              {
                "fixed": "4.3.5"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.4.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0ea3d45e04c3d54a3a472ddcb11606b30e227c50"
            },
            {
              "fixed": "c8c84b4af18d50224c17a4a3193e1374fec26625"
            },
            {
              "introduced": "ae4efa96ee8169a848c141ad21690165ea791552"
            },
            {
              "fixed": "2d41ac46f45d49872db03db14ea3cfda1152c62c"
            },
            {
              "introduced": "fe7aff8093240cc373f1ddaa66ecb91c4bc0a09f"
            },
            {
              "fixed": "7dcfaa79f78e100fcb0b52f4e99d13f354ca0f23"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "ee91c6536f99e1633e2245780c4fe7f47340ed66"
            }
          ],
          "repo": "https://github.com/moodle/moodle",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A unique key should be generated for a user's QR login key and their auto-login key, so the same key cannot be used interchangeably between the two.",
  "id": "CVE-2024-38277",
  "modified": "2026-03-13T21:54:59.096346119Z",
  "published": "2024-06-18T20:15:14.210Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://moodle.org/mod/forum/discuss.php?d=459502"
    },
    {
      "type": "ARTICLE",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6/"
    },
    {
      "type": "ARTICLE",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}