U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-45388

Change History

New CVE Received by NIST 9/02/2024 2:15:38 PM

Action Type Old Value New Value
Added CVSS V3.1

								
							
							
						
GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Added CWE

								
							
							
						
GitHub, Inc. CWE-200
Added 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.
Added Reference

								
							
							
						
GitHub, Inc. https://codeql.github.com/codeql-query-help/go/go-path-injection [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/SpectoLabs/hoverfly/releases/tag/v1.10.3 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-6xx4-x46f-f897 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/spectolabs/hoverfly/blob/15d6ee9ea4e0de67aec5a41c28d21dc147243da0/core/handlers/v2/simulation_handler.go#L87 [No types assigned]