Go Vulnerability Database
GO-2024-3108
Hoverfly allows an arbitrary file read in the `/api/v2/simulation` endpoint (`GHSL-2023-274`) in github.com/SpectoLabs/hoverfly
Details
Hoverfly allows an arbitrary file read in the /api/v2/simulation endpoint (GHSL-2023-274) in github.com/SpectoLabs/hoverfly
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/SpectoLabs/hoverfly | All versions before 1.10.3 (fixed in 1.10.3) |
References
- https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897
- https://nvd.nist.gov/vuln/detail/CVE-2024-45388
- https://codeql.github.com/codeql-query-help/go/go-path-injection
- https://github.com/SpectoLabs/hoverfly/releases/tag/v1.10.3
- https://github.com/spectolabs/hoverfly/blob/15d6ee9ea4e0de67aec5a41c28d21dc147243da0/core/handlers/v2/simulation_handler.go#L87