Saloon has a Fixture Name Path Traversal Vulnerability
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| saloonphp | saloon | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Saloonphp | Saloon |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-f7xc-5852-fj99 | Saloon has a Fixture Name Path Traversal Vulnerability |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.589% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Saloon
Saloon saloon |
|
| CPEs | cpe:2.3:a:saloon:saloon:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Saloon
Saloon saloon |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Saloonphp
Saloonphp saloon |
|
| Vendors & Products |
Saloonphp
Saloonphp saloon |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Saloon is a PHP library that gives users tools to build API integrations and SDKs. Prior to version 4.0.0, fixture names were used to build file paths under the configured fixture directory without validation. A name containing path segments (e.g. ../traversal or ../../etc/passwd) resulted in a path outside that directory. When the application read a fixture (e.g. for mocking) or wrote one (e.g. when recording responses), it could read or write files anywhere the process had access. If the fixture name was derived from user or attacker-controlled input (e.g. request parameters or config), this constituted a path traversal vulnerability and could lead to disclosure of sensitive files or overwriting of critical files. The fix in version 4.0.0 adds validation in the fixture layer (rejecting names with /, \, .., or null bytes, and restricting to a safe character set) and defense-in-depth in the storage layer (ensuring the resolved path remains under the base directory before any read or write). | |
| Title | Saloon has a Fixture Name Path Traversal Vulnerability | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|