漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
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