漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Zip Slip Path Traversal in quarkus-openapi-generator ApicurioCodegenWrapper class
Vulnerability Description
Quarkus OpenAPI Generator is Quarkus' extensions for generation of Rest Clients and server stubs generation. Prior to 2.16.0 and 2.15.0-lts, the unzip() method in ApicurioCodegenWrapper.java extracts ZIP entries without validating that the resolved file path stays within the intended output directory. At line 101, the destination is constructed as new File(toOutputDir, entry.getName()) and the content is written immediately. A malicious ZIP archive containing entries with path traversal sequences (e.g., ../../malicious.java) would write files outside the target directory. This vulnerability is fixed in 2.16.0 and 2.15.0-lts.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Quarkus OpenAPI Generator 路径遍历漏洞
Vulnerability Description
Quarkus OpenAPI Generator是Quarkiverse Hub开源的一个基于OpenAPI规范的代码生成工具。 Quarkus OpenAPI Generator 2.16.0之前版本和2.15.0-lts之前版本存在路径遍历漏洞,该漏洞源于ApicurioCodegenWrapper.java中的unzip()方法提取ZIP条目时未验证解析后的文件路径是否保持在预期输出目录内,可能导致路径遍历攻击。
CVSS Information
N/A
Vulnerability Type
N/A