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.
CVE-2024-45388
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 56%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(low)
- EPSS
- 98.9%
- KEV
- Not listed
Published
September 2, 2024
Last Modified
September 19, 2024
References (4)
- security-advisories@githubhttps://codeql.github.com/codeql-query-help/go/go-path-injection
- security-advisories@githubhttps://github.com/SpectoLabs/hoverfly/releases/tag/v1.10.3
- security-advisories@githubhttps://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897
- security-advisories@githubhttps://github.com/spectolabs/hoverfly/blob/15d6ee9ea4e0de67aec5a41c28d21dc147243da0/core/handlers/v2/simulation_handler.go#L87
Affected Packages
(2 across 1 ecosystem)
Go(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/spectolabs/hoverfly | — | 1.10.3 | — |
| github.com/SpectoLabs/hoverfly | — | 1.10.3 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 00:31 UTCOSV refresh
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
Show 17 moreShow fewer
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-07 22:25 UTCOSV refresh
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-23 11:39 UTCEG score recompute
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2024/CVE-2024-45388.yamlFirst seen Jan 1, 2024
Hoverfly < 1.10.3 - Arbitrary File Read
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-200 · CWE-22
- CVE-1999-0511EG 9.1EPSS 93%CRITICAL
- CVE-2001-0925NVD 0.0EG 9.0EPSS 99%NONE
- CVE-1999-0517NVD 5.9EG 9.0EPSS 98%MEDIUM
- CVE-1999-0468EG 8.2HIGH
- CVE-1999-0236EG 7.5EPSS 98%HIGH
- CVE-1999-0632EG 7.3HIGH
- CVE-1999-0059EG 7.3HIGH
- CVE-1999-0524EG 4.0EPSS 98%MEDIUM
- CVE-2002-2436EG 0.0NONE
- CVE-2002-2435EG 0.0EPSS 96%NONE
Frequently asked(5)
What is CVE-2024-45388?
When was CVE-2024-45388 disclosed?
Is CVE-2024-45388 actively exploited?
What is the CVSS score of CVE-2024-45388?
How do I remediate CVE-2024-45388?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-45388
Is Your Infrastructure Affected by CVE-2024-45388?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.