SpectoLabs Hoverfly vulnerabilities
🔔 Create alert RSS Version checker
Published CVEs affecting SpectoLabs Hoverfly: 2 record(s), with affected versions and fixes.
CVE-2026-50018
Medium · 6.5
CWE-400 Sep 11, 2026
Hoverfly: Denial of Service via Goroutine Leak in Remote Post-Serve Actions
Hoverfly is an open source API simulation tool. Prior to version 1.12.8, remote post-serve actions use `http.DefaultClient` without any timeout configuration. When the remote endpoint is unreachable or intentionally slow (accepts TCP connection but never responds), each triggered proxy request spawns a goroutine that blocks indefinitely on `http.DefaultClient.Do()`. An attacker can cause unbounded goroutine accumulation leading to memory exhaustion and process crash (OOM kill). Unlike local post-serve action execution, this requires no binary execution, only a URL pointing to a non-responsive endpoint. Version 1.12.8 patches the issue.
CVE-2026-50013
High · 7.5
CWE-362 Sep 11, 2026
Hoverfly: Process Crash via Concurrent Map Write Race Condition in Diff Mode
Hoverfly is an open source API simulation tool. Prior to version 1.12.8, when Hoverfly is running in Diff mode, the `AddDiff()` function writes to the shared `responsesDiff` map without any synchronization (no mutex). When multiple proxy requests are processed concurrently (the normal case for any proxy), the concurrent map writes trigger Go's built-in race detector which causes a `fatal error: concurrent map read and map write`, immediately killing the entire Hoverfly process. This is trivially exploitable by sending multiple simultaneous requests. Version 1.12.8 patches the issue.