CVE-2021-21430

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Using `File.createTempFile` in JDK will result in creating and using insecure temporary files that can leave application and system data vulnerable to attacks. Auto-generated code (Java, Scala) that deals with uploading or downloading binary data through API endpoints will create insecure temporary files during the process. Affected generators: `java` (jersey2, okhttp-gson (default library)), `scala-finch`. The issue has been patched with `Files.createTempFile` and released in the v5.1.0 stable version.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
May 10, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-214318.1sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of theCVE-2021-214326.5Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in CVE-2021-214338.8Discord Recon Server is a bot that allows you to do your reconnaissance process from your Discord. Remote code execution in version 0.0.1 woCVE-2021-214344.8Survey administrator can craft a survey in such way that malicious code can be executed in the agent interface (i.e. another agent who wantsCVE-2021-214356.5Article Bcc fields and agent personal information are shown when customer prints the ticket (PDF) via external interface. This issue affectsCVE-2021-214364.3Agents are able to see and link Config Items without permissions, which are defined in General Catalog. This issue affects: OTRS AG OTRSCIsICVE-2021-214374.3Agents are able to see linked Config Items without permissions, which are defined in General Catalog. This issue affects: OTRSCIsInCustomerFCVE-2021-214384.3Agents are able to see linked FAQ articles without permissions (defined in FAQ Category). This issue affects: FAQ version 6.0.29 and prior vCVE-2021-214396.5DoS attack can be performed when an email contains specially designed URL in the body. It can lead to the high CPU usage and cause low qualiCVE-2021-21447.2Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Parser). Supported versions that are affected are 5.7.29 and pCVE-2021-214406.5Generated Support Bundles contains private S/MIME and PGP keys if containing folder is not hidden. This issue affects: OTRS AG ((OTRS)) CommCVE-2021-214417.5There is a XSS vulnerability in the ticket overview screens. It's possible to collect various information by having an e-mail shown in the o
CVE-2021-21430: Medium severity, CVSS 5.5 | Vulnix