{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-35649","id":"CVE-2022-35649","title":"Moodle PostScript Code Injection","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.","descriptionLong":"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.","published":"2022-07-25T15:27:27.000Z","updated":"2026-10-28T02:30:58.072981669Z","reserved":"2022-07-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Moodle"],"affectedProducts":[{"vendor":"n/a","product":"Moodle","defaultStatus":null,"versions":[{"status":"affected","version":"Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=3.9 <3.9.15",">=3.11 <3.11.8",">=4.0 <4.0.2"],"fixed":["3.9.15","3.11.8","4.0.2"],"advisory":"GHSA-xp2f-9mx3-3c6p"}],"cwes":["CWE-94","CWE-20"],"aliases":["BIT-moodle-2022-35649","GHSA-xp2f-9mx3-3c6p"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106273","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=436456","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35649.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35649","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.08554,"epssPercentile":0.95168,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-35649","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35649","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-35649","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xp2f-9mx3-3c6p","ok":true,"note":"GHSA-xp2f-9mx3-3c6p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-35649","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}