Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Apache Software Foundation Apache PDFBox Examples
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.pdfbox:pdfbox-examples Maven |
|
|
Original description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache PDFBox Examples.
This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.36, from 3.0.0 through 3.0.7.
Users are recommended to update to version 2.0.37 or 3.0.8 once available. Until then, they should apply the fix provided in GitHub PR 427.