SpectoLabs Hoverfly
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.12.8
Fixed in 1.12.8
Mitigation
Upgrade hoverfly to 1.12.8 or later.
References
- Vendor advisory github.com/SpectoLabs/hoverfly/security/adviso…
- Patch github.com/SpectoLabs/hoverfly/pull/1227
- Release notes github.com/SpectoLabs/hoverfly/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.