1. Gentoo Linux Security Advisory
| Advisory Reference | GLSA 200904-07 / xpdf |
| Release Date | April 07, 2009 |
| Latest Revision | April 07, 2009: 01 |
| Impact | normal |
| Exploitable | local |
| Package | Vulnerable versions | Unaffected versions | Architecture(s) |
| app-text/xpdf | < 3.02-r2 | >= 3.02-r2 | All supported architectures |
Related bugreports: #242930
A vulnerability in Xpdf might allow local attackers to execute arbitrary code.
Xpdf is a PDF file viewer that runs under the X Window System.
Erik Wallin reported that Gentoo's Xpdf attempts to read the "xpdfrc" file from the current working directory if it cannot find a ".xpdfrc" file in the user's home directory. This is caused by a missing definition of the SYSTEM_XPDFRC macro when compiling a repackaged version of Xpdf.
A local attacker could entice a user to run "xpdf" from a directory containing a specially crafted "xpdfrc" file, resulting in the execution of arbitrary code when attempting to, e.g., print a file.
Do not run Xpdf from untrusted working directories.
All Xpdf users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync # emerge --ask --oneshot --verbose ">=app-text/xpdf-3.02-r2" |