CVE-2017-1000207Swagger-codegen
Alta 8.8 Sin autenticación
Seguir: esta CVE · Swagger · Swagger-codegen Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 68
- CVSS 3.0
- 8.8
- EPSS
- 1.6% probabilidad de explotación en 30 días · percentil 77
- Requiere autenticación
- No
- Publicada
- 27 nov 2017
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-502
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Qué pasa
A vulnerability in Swagger-Parser's version <= 1.0.30 and Swagger codegen version <= 2.2.2 yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the 'generate' and 'validate' command in swagger-codegen (<= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Swagger-codegen.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | io.swagger:swagger-codegen |
< 2.2.2 |
2.2.2 |
— |
| Maven | io.swagger:swagger-parser |
< 1.0.31 |
1.0.31 |
— |
Según OSV / GitHub Advisories (GHSA-vgvf-9jh3-fg75). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| swagger | swagger-codegen | ≤ 2.2.2 |
| swagger | swagger-parser | ≤ 1.0.30 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking
- lgtm.com Third Party Advisory