GHSA-867q-77cc-98mv · Severity: medium · Ecosystem: maven — Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven plugin
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.
Conclusion & alert: CVE-2021-21429 is rated Low Risk (20.7/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-03-17 | 0.04% | 0.05% | +0.01% |
| 2 | 2023-03-07 | 0.89% | 0.04% | -0.84% |
| 3 | 2022-04-01 | — | 0.89% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.0 | 3.1 | MEDIUM |
|
2.5 | 1.4 | [email protected] |
| 3.3 | 3.1 | LOW |
|
1.8 | 1.4 | [email protected] |
| 2.1 | 2.0 | LOW |
|
3.9 | 2.9 | [email protected] |
GHSA-867q-77cc-98mv · Severity: medium · Ecosystem: maven — Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven plugin
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-21429 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| openapi-generator | openapi_generator | < 5.1.0 | cpe:2.3:a:openapi-generator:openapi_generator:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/OpenAPITools/openapi-generator/pull/8795 | Patch Third Party Advisory |
| https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-867q-77cc-98mv | Patch Third Party Advisory |