{"id":"CVE-2022-35649","published":"2022-07-25T15:27:27Z","modified":"2024-08-03T09:36:44Z","title":"The vulnerability was found in Moodle, occurs due to improper input validation when parsing PostScript code","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08554,"percentile":0.95188,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106273","tags":["x_refsource_MISC"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=436456","tags":["x_refsource_MISC"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.04},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-03-06","earliestUrl":"https://github.com/antoinenguyen-09/CVE-2022-35649","repos":[{"name":"antoinenguyen-09/CVE-2022-35649","url":"https://github.com/antoinenguyen-09/CVE-2022-35649","stars":0,"created":"2023-03-06"}]},"first":{"date":"2023-03-06","source":"PoC-in-GitHub","url":"https://github.com/antoinenguyen-09/CVE-2022-35649"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"Moodle","versions":["Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.9, <3.9.15",">=3.11, <3.11.8",">=4.0, <4.0.2"],"patched":["3.9.15","3.11.8","4.0.2"],"from":["GHSA-xp2f-9mx3-3c6p"],"provenance":"source"}],"summary":{"text":"The flaw is improper input validation when parsing PostScript code in Moodle, where an omitted execution parameter in the GhostScript component creates a code-execution risk for sites running GhostScript versions older than 9.50.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:59Z"},"euvd":{"id":"EUVD-2022-6451","exploited":false,"provenance":"source"}}