CVE detail
CVE-2021-21429 — CVE-2021-21429
Published 2021-04-27 · Modified 2026-06-17 · Vendor openapi-generator · Product openapi_generator · Source nvd
MEDIUM
severity
CVSS-derived band
0.0030
EPSS probability
exploitation probability, 30d
22.0%
EPSS percentile
percentile vs all CVEs
NOT LISTED
CISA KEV
known exploited catalog
Description
OpenAPI Generator allows generation of API client libraries, 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. OpenAPI Generator maven plug-in creates insecure temporary files during the process. The issue has been patched with `Files.createTempFile` and released in the v5.1.0 stable version.
Remediation
No vendor-published fix data in our corpus for this CVE. Check the references below or the vendor's PSIRT / security advisories page.
References