PT-2021-14501
CVE-2021-21429
·
تاريخ النشر
2021-04-27
·
تاريخ التحديث
2021-05-07
الوصف من
CVSS 3.1
4.0
متوسطةالمقاييسAV: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. وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾