CVE-2021-21428
Summary
| CVE | CVE-2021-21428 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-05-10 19:15:00 UTC |
| Updated | 2023-06-30 17:43:00 UTC |
| Description | Openapi generator is a java tool which allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. openapi-generator-online creates insecure temporary folders with File.createTempFile during the code generation process. The insecure temporary folders store the auto-generated files which can be read and appended to by any users on the system. The issue has been patched with `Files.createTempFile` and released in the v5.1.0 stable version. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [online] use Files.createTempFile to address security concerns by wing328 · Pull Request #8788 · OpenAPITools/openapi-generator · GitHub |
MISC |
github.com |
|
| OpenAPI-Generator online generator: Local Privilege Escalation Vulnerability via System Temp Directory · Advisory · OpenAPITools/openapi-generator · GitHub |
CONFIRM |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982597 Java (maven) Security Update for org.openapitools:openapi-generator-online (GHSA-23x4-m842-fmwf)