CVE-2024-45388Hoverfly
Alta 7.5 Sin autenticación
Seguir: esta CVE · Hoverfly · Hoverfly Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 61
- CVSS 3.1
- 7.5
- EPSS
- 8.2% probabilidad de explotación en 30 días · percentil 96
- Requiere autenticación
- No
- Publicada
- 2 sep 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers. The `/api/v2/simulation` POST handler allows users to create new simulation views from the contents of a user-specified file. This feature can be abused by an attacker to read arbitrary files from the Hoverfly server. Note that, although the code prevents absolute paths from being specified, an attacker can escape out of the `hf.Cfg.ResponsesBodyFilesPath` base path by using `../` segments and reach any arbitrary files. This issue was found using the Uncontrolled data used in path expression CodeQL query for python. Users are advised to make sure the final path (`filepath.Join(hf.Cfg.ResponsesBodyFilesPath, filePath)`) is contained within the expected base path (`filepath.Join(hf.Cfg.ResponsesBodyFilesPath, "/")`). This issue is also tracked as GHSL-2023-274.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Hoverfly.
- 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 |
|---|---|---|---|---|
| Go | github.com/spectolabs/hoverfly |
< 1.10.3 |
1.10.3 |
go get github.com/spectolabs/hoverfly@v1.10.3 |
| Go | github.com/SpectoLabs/hoverfly |
< 1.10.3 |
1.10.3 |
go get github.com/SpectoLabs/hoverfly@v1.10.3 |
| Go | github.com/SpectoLabs/hoverfly |
< 1.10.3 |
1.10.3 |
go get github.com/SpectoLabs/hoverfly@v1.10.3 |
Según OSV / GitHub Advisories (GHSA-6xx4-x46f-f897, GO-2024-3108). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| hoverfly | hoverfly | < 1.10.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- codeql.github.com Not Applicable
- github.com Release Notes
- github.com Exploit Vendor Advisory
- github.com Product