PT-2021-14501

CVE-2021-21429

·

Published

2021-04-27

·

Updated

2021-05-07

Description by

CVSS 3.1
4.0
Medium
MetricsAV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenAPI Generator versions prior to 5.1.0
Description The issue arises from using File.createTempFile in JDK, resulting in the creation of insecure temporary files. This can leave application and system data vulnerable to attacks, specifically impacting unix-like systems where the local system temporary directory is shared between all users. The OpenAPI Generator Maven plug-in creates these insecure temporary files during the code generation process to store OpenAPI specification files, potentially disclosing the contents of the specification file to other local users.
Recommendations For versions prior to 5.1.0, update to the v5.1.0 stable version, which patches the issue with Files.createTempFile.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-867Q-77CC-98MV
Found an issue in the description? Have something to add? Feel free to write us 👾