{"id":"UBUNTU-CVE-2024-29511","details":"Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and writing of error messages to arbitrary files) via OCRLanguage. For example, exploitation can use debug_file /tmp/out and user_patterns_file /etc/passwd.","modified":"2026-02-04T04:02:14.646246Z","published":"2024-07-03T19:15:00Z","related":["USN-6897-1"],"upstream":["CVE-2024-29511"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-29511"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-29511"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2024/07/03/7"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6897-1"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.55.0~dfsg1-0ubuntu5.9?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.55.0~dfsg1-0ubuntu5.9"}]}],"versions":["9.54.0~dfsg1-0ubuntu2","9.55.0~dfsg1-0ubuntu4","9.55.0~dfsg1-0ubuntu5","9.55.0~dfsg1-0ubuntu5.1","9.55.0~dfsg1-0ubuntu5.2","9.55.0~dfsg1-0ubuntu5.3","9.55.0~dfsg1-0ubuntu5.4","9.55.0~dfsg1-0ubuntu5.5","9.55.0~dfsg1-0ubuntu5.6","9.55.0~dfsg1-0ubuntu5.7"],"ecosystem_specific":{"binaries":[{"binary_version":"9.55.0~dfsg1-0ubuntu5.9","binary_name":"ghostscript"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.9","binary_name":"ghostscript-x"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.9","binary_name":"libgs-dev"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.9","binary_name":"libgs9"},{"binary_version":"9.55.0~dfsg1-0ubuntu5.9","binary_name":"libgs9-common"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29511.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@10.02.1~dfsg1-0ubuntu7.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.02.1~dfsg1-0ubuntu7.3"}]}],"versions":["10.01.2~dfsg1-0ubuntu2","10.01.2~dfsg1-0ubuntu2.1","10.02.1~dfsg1-0ubuntu1","10.02.1~dfsg1-0ubuntu2","10.02.1~dfsg1-0ubuntu5","10.02.1~dfsg1-0ubuntu6","10.02.1~dfsg1-0ubuntu7","10.02.1~dfsg1-0ubuntu7.1"],"ecosystem_specific":{"binaries":[{"binary_version":"10.02.1~dfsg1-0ubuntu7.3","binary_name":"ghostscript"},{"binary_version":"10.02.1~dfsg1-0ubuntu7.3","binary_name":"libgs-common"},{"binary_version":"10.02.1~dfsg1-0ubuntu7.3","binary_name":"libgs-dev"},{"binary_version":"10.02.1~dfsg1-0ubuntu7.3","binary_name":"libgs10"},{"binary_version":"10.02.1~dfsg1-0ubuntu7.3","binary_name":"libgs10-common"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29511.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}