cve.bz

CVE-2021-21429

3.3 lowEPSS 0.3%

Low (3.3) in openapi-generator openapi generator. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in org.openapitools:openapi-generator-maven-plugin 5.1.0.

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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 22% of CVEs (scores of 2026-10-31)
CWE
CWE-552
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-867q-77cc-98mvMavenorg.openapitools:openapi-generator-maven-plugin<5.1.05.1.0

References

Check your stackJSON