Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2024-38277

CVE-2024-38277: Moodle uses the same key for QR login and auto-login

June 18, 2024

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.

References

  • github.com/advisories/GHSA-r82w-3phg-qvr4
  • github.com/moodle/moodle
  • github.com/moodle/moodle/commit/0caedaab7cd5a46331d56654ce9301b0a5a04c56
  • github.com/moodle/moodle/commit/1aea4a15281d81f2414a95aa485b8a6551708f57
  • github.com/moodle/moodle/commit/ad46a97f5355f0451d52e9f1a0f528d9a6f12e06
  • github.com/moodle/moodle/commit/d05795db8eece2943241a29a5443fb4685ba6070
  • moodle.org/mod/forum/discuss.php?d=459502
  • nvd.nist.gov/vuln/detail/CVE-2024-38277

Code Behaviors & Features

Detect and mitigate CVE-2024-38277 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.1.11, all versions starting from 4.2.0-beta before 4.2.8, all versions starting from 4.3.0-beta before 4.3.5, all versions starting from 4.4.0-beta before 4.4.1

Fixed versions

  • 4.4.1
  • 4.3.5
  • 4.2.8
  • 4.1.11

Solution

Upgrade to versions 4.1.11, 4.2.8, 4.3.5, 4.4.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-324: Use of a Key Past its Expiration Date

Source file

packagist/moodle/moodle/CVE-2024-38277.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.