Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Apache PDFBox Examples: Path Traversal in PDFBox ExtractEmbeddedFiles Example Code
Vulnerability Description
This issue affects the ExtractEmbeddedFiles example in Apache PDFBox: from 2.0.24 through 2.0.35, from 3.0.0 through 3.0.6. The ExtractEmbeddedFiles example contains a path traversal vulnerability (CWE-22) because the filename that is obtained from PDComplexFileSpecification.getFilename() is appended to the extraction path. Users who have copied this example into their production code should review it to ensure that the extraction path is acceptable. The example has been changed accordingly, now the initial path and the extraction paths are converted into canonical paths and it is verified that extraction path contains the initial path. The documentation has also been adjusted.
CVSS Information
N/A
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Apache PDFBox 路径遍历漏洞
Vulnerability Description
Apache PDFBox是美国阿帕奇(Apache)基金会的一款基于Java语言的开源工具库。该产品提供PDF文档创建和编辑等功能。 Apache PDFBox 2.0.24版本至2.0.35版本和3.0.0版本至3.0.6版本存在路径遍历漏洞,该漏洞源于ExtractEmbeddedFiles示例中从PDComplexFileSpecification.getFilename获取的文件名被附加到提取路径,可能导致路径遍历攻击。
CVSS Information
N/A
Vulnerability Type
N/A