Swagger Codegen Smartbear Swagger Codegen

Do you want an email whenever new security vulnerabilities are reported in Smartbear Swagger Codegen?

By the Year

In 2024 there have been 0 vulnerabilities in Smartbear Swagger Codegen . Swagger Codegen did not have any published security vulnerabilities last year.

Year Vulnerabilities Average Score
2024 0 0.00
2023 0 0.00
2022 0 0.00
2021 2 6.25
2020 0 0.00
2019 0 0.00
2018 0 0.00

It may take a day or so for new Swagger Codegen vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Smartbear Swagger Codegen Security Vulnerabilities

swagger-codegen is an open-source project

CVE-2021-21363 7 - High - March 11, 2021

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.

Creation of Temporary File With Insecure Permissions

swagger-codegen is an open-source project

CVE-2021-21364 5.5 - Medium - March 11, 2021

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 temporary directory is shared between all local users. When files/directories are created, the default `umask` settings for the process are respected. As a result, by default, most processes/apis will create files/directories with the permissions `-rw-r--r--` and `drwxr-xr-x` respectively, unless an API that explicitly sets safe file permissions is used. Because this vulnerability impacts generated code, the generated code will remain vulnerable until fixed manually! This vulnerability is fixed in version 2.4.19. Note this is a distinct vulnerability from CVE-2021-21363.

Incorrect Permission Assignment for Critical Resource

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Smartbear Swagger Codegen or by Smartbear? Click the Watch button to subscribe.

Smartbear
Vendor

subscribe