CVE-2024-45388
HighExploitedPublic exploitHoverfly allows an arbitrary file read in the /api/v2/simulation endpoint (GHSL-2023-274)
Published Sep 3, 2024 · Updated Aug 12, 2026 · Also known as GHSA-6xx4-x46f-f897, GO-2024-3108
Key Facts
Patch immediately- CVE-2024-45388 is a high-severity vulnerability (CVSS 8.7 v4) affecting Hoverfly, github.com/SpectoLabs/hoverfly (go).
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Dec 5, 2024. Public exploit code is available.
- EPSS estimates a 56% probability of exploitation in the next 30 days.
- Fixed versions are available, including github.com/SpectoLabs/hoverfly 1.10.3, Hoverfly 1.10.3.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v4
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
56%
Higher than 99.0% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-45388 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Dec 5, 2024 | n/a | Not reported |
| CIRCL KEV | Dec 5, 2024 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| HoverflyHoverfly | >= < 1.10.3 | 1.10.3 |
| github.com/SpectoLabs/hoverflygo | See advisory | 1.10.3 |
Patched Releases
github.com/SpectoLabs/hoverfly
1.10.3
Hoverfly
1.10.3
Timeline
Publicly disclosed
Sep 3, 2024
Added to Industry KEV feed
Dec 5, 2024
Added to CIRCL KEV
Dec 5, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45388.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-45388
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Hoverfly is a lightweight service virtualization/ API simulation / API mocking tool for developers and testers.
Affected: Hoverfly versions >= < 1.10.3; github.com/SpectoLabs/hoverfly (go). The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Dec 5, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including github.com/SpectoLabs/hoverfly 1.10.3, Hoverfly 1.10.3.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-45388 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo