{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21429","published":"2021-04-27T20:15:08.763000Z","last_modified":"2026-06-17T03:35:33.533000Z","status":"Modified","cvss":{"version":"3.1","score":3.3,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-552"],"cpes":[{"criteria":"cpe:2.3:a:openapi-generator:openapi_generator:*:*:*:*:*:*:*:*","part":"a","vendor":"openapi-generator","product":"openapi_generator","version_end_excluding":"5.1.0"}],"cpes_truncated":false,"vendors":["openapi-generator"],"products":["openapi-generator/openapi_generator"],"epss":{"score":0.00296,"percentile":0.23904,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-867q-77cc-98mv","ecosystem":"Maven","name":"org.openapitools:openapi-generator-maven-plugin","purl":"pkg:maven/org.openapitools/openapi-generator-maven-plugin","ranges":[{"introduced":"0","fixed":"5.1.0"}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.2","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.3.1","3.3.2","3.3.3","3.3.4","4.0.0","4.0.0-beta","4.0.0-beta2","4.0.0-beta3","4.0.1","4.0.2","4.0.3","4.1.0","4.1.1","4.1.2","4.1.3","4.2.0","4.2.1","4.2.2","4.2.3","4.3.0","4.3.1","5.0.0","5.0.0-beta","5.0.0-beta2","5.0.0-beta3","5.0.1"],"versions_truncated":false}],"severity":"low","priority_score":20,"links":{"html_es":"/es/cve/CVE-2021-21429/","html_en":"/en/cve/CVE-2021-21429/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21429","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21429"},"untrusted":{"vendor_name":"Openapi-generator","product_name":"Openapi Generator","desc_en":"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.","affected":[{"untrusted_vendor":"OpenAPITools","untrusted_product":"openapi-generator","versions":[]}],"references":[{"url":"https://github.com/OpenAPITools/openapi-generator/pull/8795","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-867q-77cc-98mv","tags":["Patch","Third Party Advisory"]}]}}