CVE-2021-21429
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 21% of all known CVEs.
References
Related Vulnerabilities
Other CWE-552 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2020-17519 | High | 7.5 | 98% | KEV | Fix |
| CVE-2025-11371 | High | 7.5 | 92% | KEV | Fix |
| CVE-2023-50164 | Critical | 9.8 | 81% | - | Fix |
| CVE-2016-3715 | Medium | 5.5 | 75% | KEV | Fix |
| CVE-2020-15175 | High | 7.4 | 71% | - | Fix |
| CVE-2021-39316 | High | 7.5 | 67% | - | - |
Embed a live status badge for CVE-2021-21429
Markdown
[](https://tridentstack.com/cve/CVE-2021-21429)HTML
<a href="https://tridentstack.com/cve/CVE-2021-21429"><img src="https://tridentstack.com/cve/badge/CVE-2021-21429.svg" alt="CVE-2021-21429"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.