Multiple vulnerabilities in the PDFjam scripts allow for local privilege escalation.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| app-text/pdfjam | * | < 1.20-r1 | >= 1.20-r1 |
PDFjam is a small collection of shell scripts to edit PDF documents, including pdfnup, pdfjoin and pdf90.
A local attacker could place a specially crafted Python module in the current working directory or the /var/tmp directory, and entice a user to run the PDFjam scripts, leading to the execution of arbitrary code with the privileges of the user running the application. A local attacker could also leverage symlink attacks to overwrite arbitrary files.
There is no known workaround at this time.
All PDFjam users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-text/pdfjam-1.20-r1"