Amenazas en vivo

Todas las CVE / Hoverfly

CVE-2024-45388Hoverfly

Alta 7.5 Sin autenticación

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
Debilidad (CWE)
CWE-200, CWE-22
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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Hoverfly.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
hoverflyhoverfly< 1.10.3

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.