CVE-2024-29511

NameCVE-2024-29511
DescriptionArtifex 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)jessie, jessie (lts)9.26a~dfsg-0+deb8u12vulnerable
stretch (security)9.26a~dfsg-0+deb9u9vulnerable
stretch (lts), stretch9.26a~dfsg-0+deb9u12vulnerable
buster (security), buster, buster (lts)9.27~dfsg-2+deb10u9vulnerable
bullseye (security), bullseye9.53.3~dfsg-7+deb11u7vulnerable
bookworm10.0.0~dfsg-11+deb12u4vulnerable
bookworm (security)10.0.0~dfsg-11+deb12u5vulnerable
sid, trixie10.04.0~dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsource(unstable)10.03.0~dfsg-1unimportant

Notes

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)

Search for package or bug name: Reporting problems