Skip to content
Connect AISign inSign up free
CVE-2021-213635.3MediumCWE-379

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

swagger-api · swagger-codegen

Affected: swagger-api swagger-codegen · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.4%probability of exploitation in the next 30 days
36th percentile
050100

Higher than 36% of scored CVEs

5.3MediumCVSS 3.1
LowMedium

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • swagger-api · swagger-codegen< 2.4.19

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Published
March 2021

CoverageNo articles yet

No CyberSIXT article names CVE-2021-21363 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References