GHSA-xp2f-9mx3-3c6p
Moodle PostScript Code Injection
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | moodle/moodle | >= 3.9, < 3.9.15 | 3.9.15 |
| Packagist | moodle/moodle | >= 3.11, < 3.11.8 | 3.11.8 |
| Packagist | moodle/moodle | >= 4.0, < 4.0.2 | 4.0.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-35649
- https://bugzilla.redhat.com/show_bug.cgi?id=2106273
- https://github.com/moodle/moodle
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V
- https://moodle.org/mod/forum/discuss.php?d=436456
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044