Name | CVE-2024-29511 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ghostscript (PTS) | bullseye | 9.53.3~dfsg-7+deb11u7 | vulnerable |
bullseye (security) | 9.53.3~dfsg-7+deb11u8 | vulnerable | |
bookworm | 10.0.0~dfsg-11+deb12u5 | vulnerable | |
bookworm (security) | 10.0.0~dfsg-11+deb12u6 | vulnerable | |
sid, trixie | 10.04.0~dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ghostscript | source | (unstable) | 10.03.0~dfsg-1 | unimportant |
https://bugs.ghostscript.com/show_bug.cgi?id=707510
https://www.openwall.com/lists/oss-security/2024/07/03/7
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=3d4cfdc1a44b1969a0f14c86673a372654d443c4 (ghostpdl-10.03.0)
Ghostscript in Debian not compiled with Tesseract support
Regression (affecting pdf2ps) fix: https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=638159c43dbb48425a187d244ec288d252d0ecf4 (ghostpdl-10.03.0)