GitHub Advisoryadvisory · Packagist
GHSA-xp2f-9mx3-3c6p Moodle PostScript Code Injection
CRITICAL
Official page ↗
- Aliases
- CVE-2022-35649
- Ecosystem
- Packagist
- Packages
- moodle/moodle
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2024-04-23
Affected packages
• Packagist moodle/moodle: >= 3.9, < 3.9.15 → fixed in 3.9.15
• Packagist moodle/moodle: >= 3.11, < 3.11.8 → fixed in 3.11.8
• Packagist moodle/moodle: >= 4.0, < 4.0.2 → fixed in 4.0.2
Description
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.
Related
Alias · CVE (1)
- CVE-2022-35649 The vulnerability was found in Moodle, occurs due to improper input validation when parsing PostScript code. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35649 advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2106273 web
- https://github.com/moodle/moodle package
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V web
- https://moodle.org/mod/forum/discuss.php?d=436456 web
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044 web