{"schemaVersion":3,"id":"CVE-2024-33869","aliases":["ALPINE-CVE-2024-33869","UBUNTU-CVE-2024-33869","DEBIAN-CVE-2024-33869","CGA-j7rv-9cch-h926","CGA-mmcj-88xg-3hf6"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.","dates":{"published":"2024-07-03T00:00:00.000Z","modified":"2024-10-31T17:23:01.163Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00454,"percentile":0.38059,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00454},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00454,"percentile":0.38059}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00454,"percentile":0.38059}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"alpine","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/ghostscript","purlType":"apk","versions":[{"text":"< 10.04.0-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 10.03.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.04.0-r0 | < 10.03.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ghostscript","purlType":"apk","versions":[{"text":"< 10.03.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.03.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ghostscript","purlType":"apk","versions":[{"text":"< 10.03.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.03.1-r0","eol":null,"hubHref":null},{"vendor":"artifex","product":"ghostscript","name":"Ghostscript","label":"ghostscript","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.03.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.03.1","eol":null,"hubHref":"/vendor/artifex/ghostscript"},{"vendor":"debian","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ghostscript","purlType":"deb","versions":[{"text":"< 10.0.0~dfsg-11+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 10.03.1~dfsg~git20240518-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.0~dfsg-11+deb12u4 | < 10.03.1~dfsg~git20240518-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ghostscript","purlType":"deb","versions":[{"text":"< 9.50~dfsg-5ubuntu4.12","noFixRecorded":false,"fixedIn":null},{"text":"< 9.55.0~dfsg1-0ubuntu5.7","noFixRecorded":false,"fixedIn":null},{"text":"< 10.02.1~dfsg1-0ubuntu7.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.50~dfsg-5ubuntu4.12 | < 9.55.0~dfsg1-0ubuntu5.7 | < 10.02.1~dfsg1-0ubuntu7.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=707691","label":"bugs.ghostscript.com/show_bug.cgi?id=707691","hostname":"bugs.ghostscript.com","tags":["WEB","Issue Tracking"]},{"url":"https://www.openwall.com/lists/oss-security/2024/06/28/2","label":"www.openwall.com/lists/oss-security/2024/06/28/2","hostname":"www.openwall.com","tags":["WEB","Mailing List"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-33869","label":"security.alpinelinux.org/vuln/CVE-2024-33869","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-33869","label":"ubuntu.com/security/CVE-2024-33869","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-33869","label":"www.cve.org/CVERecord?id=CVE-2024-33869","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ghostscript.readthedocs.io/en/gs10.03.1/News.html","label":"ghostscript.readthedocs.io/en/gs10.03.1/News.html","hostname":"ghostscript.readthedocs.io","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6835-1","label":"ubuntu.com/security/notices/USN-6835-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-33869","label":"security-tracker.debian.org/tracker/CVE-2024-33869","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33869.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33869.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-33869","label":"nvd.nist.gov/vuln/detail/CVE-2024-33869","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5692-1","MGASA-2024-0192","OPENSUSE-SU-2024:14090-1","RHSA-2024:6197","RHSA-2024:6466","SUSE-SU-2024:2276-1","SUSE-SU-2024:2292-1","USN-6835-1"],"duplicates":[],"related":["CGA-7H72-CW77-7P5V","CGA-GJ9J-7PV9-PQQ9","OPENSUSE-SU-2024:14090-1","SUSE-SU-2024:2276-1","SUSE-SU-2024:2292-1","USN-6835-1"]},"timeline":[{"kind":"published","date":"2024-07-03T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-31T17:23:01.163Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:14:28.822Z","stale":false,"partial":false}}