{"id":"CVE-2022-35649","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2022-07-25T15:27:27.000Z","updatedAt":"2024-08-03T09:36:44.417Z","severity":null,"assigner":"fedora","products":["n/a Moodle"],"affected":[{"vendor":"n/a","product":"Moodle","versions":[{"version":"Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2106273","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","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:50:17.761Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/35xxx/CVE-2022-35649.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-35649","state":"PUBLISHED","datePublished":"2022-07-25T15:27:27.000Z","dateUpdated":"2024-08-03T09:36:44.417Z","assignerShortName":"fedora","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","dateReserved":"2022-07-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"Moodle","versions":[{"version":"Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15","status":"affected"}]}],"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/","name":"FEDORA-2022-81ce74b2dd","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/","name":"FEDORA-2022-7e7ce7df2e","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 - Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"fedora","dateUpdated":"2022-07-27T04:06:25.000Z","orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"patrick@puiterwijk.org","ID":"CVE-2022-35649","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Moodle","version":{"version_data":[{"version_value":"Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 - Improper Control of Generation of Code ('Code Injection')"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=2106273","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106273"},{"name":"https://moodle.org/mod/forum/discuss.php?d=436456","refsource":"MISC","url":"https://moodle.org/mod/forum/discuss.php?d=436456"},{"name":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044","refsource":"MISC","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044"},{"name":"FEDORA-2022-81ce74b2dd","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/"},{"name":"FEDORA-2022-7e7ce7df2e","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106273","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=436456","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/","name":"FEDORA-2022-81ce74b2dd","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/","name":"FEDORA-2022-7e7ce7df2e","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:36:44.417Z"}}]}}}