Todas las CVE / Openapi-generator
CVE-2021-21430Openapi-generator Openapi Generator
Media 5.5
Seguir: esta CVE · Openapi-generator · Openapi-generator Openapi Generator Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.4% probabilidad de explotación en 30 días · percentil 37
- Requiere autenticación
- Sí
- Publicada
- 10 may 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Qué pasa
OpenAPI Generator allows generation of API client libraries (SDK generation), 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. Auto-generated code (Java, Scala) that deals with uploading or downloading binary data through API endpoints will create insecure temporary files during the process. Affected generators: `java` (jersey2, okhttp-gson (default library)), `scala-finch`. The issue has been patched with `Files.createTempFile` and released in the v5.1.0 stable version.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Openapi Generator.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | org.openapitools:openapi-generator |
< 5.1.0 |
5.1.0 |
— |
Según OSV / GitHub Advisories (GHSA-cqxr-xf2w-943w). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| openapi-generator | openapi_generator | < 5.1.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory