kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-21363 Generator Web Application: Local Privilege Escalation Vulnerability via System Temp Directory

설명

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.

영향 받는 제품 제품 1개

  • swagger-api

    swagger-codegen

    해결 버전 있음

    영향 받는 버전

    • 2.4.19 미만

    해결 버전

    • 2.4.19 이상

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의