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

CVE-2022-0983: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

March 25, 2022 (updated November 7, 2023)

An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2064119
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y/
  • nvd.nist.gov/vuln/detail/CVE-2022-0983

Code Behaviors & Features

Detect and mitigate CVE-2022-0983 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.9.0 before 3.9.13, all versions starting from 3.10.0 before 3.10.10, all versions starting from 3.11.0 before 3.11.6

Fixed versions

  • 3.9.13
  • 3.10.10
  • 3.11.6

Solution

Upgrade to versions 3.9.13, 3.10.10, 3.11.6 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/moodle/moodle/CVE-2022-0983.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:38 +0000.