漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Generator Web Application: Local Privilege Escalation Vulnerability via System Temp Directory
Vulnerability Description
swagger-codegen is an open-source project which contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. In swagger-codegen before version 2.4.19, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. This vulnerability is local privilege escalation because the contents of the `outputFolder` can be appended to by an attacker. As such, code written to this directory, when executed can be attacker controlled. For more details refer to the referenced GitHub Security Advisory. This vulnerability is fixed in version 2.4.19. Note this is a distinct vulnerability from CVE-2021-21364.
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
Vulnerability Type
在具有不安全权限的目录中创建临时文件
Vulnerability Title
HugoMario swagger-codegen 安全漏洞
Vulnerability Description
HugoMario swagger-codegen是 (HugoMario) 的一个应用软件。用于在给定OpenAPI Spec的情况下自动生成API客户端库(生成SDK),服务器存根和文档。 swagger-codegen 存在安全漏洞,攻击者可利用该漏洞将outputFolder的内容附加到其后。写入该目录的代码在执行时受到攻击者的控制。
CVSS Information
N/A
Vulnerability Type
N/A