Skip to main content
ExploitedNot in CISA KEV yetFix available

CVE-2024-45388

Exploitation confirmed. First attested on 2024-12-05 by GCVE · kevintel, GCVE · shadowserver.

  • Published2024-09-02
  • Fixed in1.10.3
  • WeaknessCWE-200 · CWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-09-0218:15CVE publishedNVD
  2. 2024-12-0503:40Listed as exploited by GCVEGCVE
  3. 2024-12-0503:40Exploitation first reportedGCVE

Versions per branch

NVD · OSV · CISA-ADP
Hoverfly
BranchAffectedFixed in
1.10< 1.10.31.10.3
Spectolabs hoverfly
BranchAffectedFixed in
1.10< 1.10.31.10.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • SpectoLabs hoverfly
    Affected
    • = < 1.10.3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-09-02

Fix

  1. Update Hoverfly to 1.10.3

Advisories and patches

Detection

read 2026-11-19 10:48 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • GCVEexploitation2024-12-05
  • CISA-ADPSSVC decisionpoc2024-09-03
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-200known since 2026-10-23
  • NVDweakness (CWE)CWE-22read 2026-10-23
  • FIRST EPSSEPSS score55.6 %read 2026-11-19
  • ProjectDiscoverydetectionread 2026-11-19
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2024-09-03

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2024-09-02
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-6xx4-x46f-f897

Frequently asked questions

What is CVE-2024-45388?

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.

Is CVE-2024-45388 actively exploited?

A proof-of-concept exploit exists for CVE-2024-45388, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-45388?

CVE-2024-45388 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running SpectoLabs/hoverfly? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record