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

CVE-2022-35649: Improper Input Validation

July 25, 2022 (updated November 7, 2023)

The vulnerability was found in Moodle, occurs due to improper input validation when parsing PostScript code. An omitted execution parameter results in a remote code execution risk for sites running GhostScript versions older than 9.50. Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044
  • bugzilla.redhat.com/show_bug.cgi?id=2106273
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/
  • moodle.org/mod/forum/discuss.php?d=436456
  • nvd.nist.gov/vuln/detail/CVE-2022-35649

Code Behaviors & Features

Detect and mitigate CVE-2022-35649 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.15, all versions starting from 3.11.0 before 3.11.8, all versions starting from 4.0.0 before 4.0.2

Fixed versions

  • 3.9.15
  • 3.11.8
  • 4.0.2

Solution

Upgrade to versions 3.9.15, 3.11.8, 4.0.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/moodle/moodle/CVE-2022-35649.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:50 +0000.