CVE-2022-33171Typeorm
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Typeorm · Typeorm Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.0% probabilidad de explotación en 30 días · percentil 81
- Requiere autenticación
- No
- Publicada
- 4 jul 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-89
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object. When input to the function is a user-controlled parsed JSON object, supplying a crafted FindOneOptions instead of an id string leads to SQL injection. NOTE: the vendor's position is that the user's application is responsible for input validation
Qué hacer
- Aplica la actualización de seguridad del fabricante para Typeorm.
- 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 |
|---|---|---|---|---|
| npm | typeorm |
< 0.3.0 |
0.3.0 |
npm install typeorm@0.3.0 |
Según OSV / GitHub Advisories (GHSA-fx4w-v43j-vc45). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| typeorm | typeorm | < 0.3.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- seclists.org Mailing List Third Party Advisory
- github.com Release Notes Third Party Advisory
- seclists.org Exploit Mailing List Third Party Advisory