Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1jZnBoLTRxcWgtdzgyOM4AA4Lg
Arbitrary remote file read in Wrangler dev server
Impact
Sending specially crafted HTTP requests and inspector messages to Wrangler's dev server could result in any file on the user's computer being accessible over the local network. An attacker that could trick any user on the local network into opening a malicious website could also read any file.
Patches
This issue was fixed in [email protected]
. Wrangler will now only serve files that are part of your bundle, or referenced by your bundle's source maps.
Workarounds
Configure Wrangler to listen on local interfaces instead with wrangler dev --ip 127.0.0.1
. This is the default as of [email protected]
, and removes the local network as an attack vector, but does not prevent an attack from visiting a malicious website.
References
- https://github.com/cloudflare/workers-sdk/pull/4532
- https://github.com/cloudflare/workers-sdk/pull/4535
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jZnBoLTRxcWgtdzgyOM4AA4Lg
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 11 months ago
Updated: 11 months ago
CVSS Score: 6.9
CVSS vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Identifiers: GHSA-cfph-4qqh-w828, CVE-2023-7079
References:
- https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-cfph-4qqh-w828
- https://nvd.nist.gov/vuln/detail/CVE-2023-7079
- https://github.com/cloudflare/workers-sdk/pull/4532
- https://github.com/cloudflare/workers-sdk/pull/4535
- https://github.com/cloudflare/workers-sdk/commit/29df8e17545bf3926b6d61678b596be809d40c6d
- https://github.com/cloudflare/workers-sdk/commit/311ffbd5064f8301ac6f0311bbe5630897923b93
- https://github.com/advisories/GHSA-cfph-4qqh-w828
Blast Radius: 24.5
Affected Packages
npm:wrangler
Dependent packages: 209Dependent repositories: 3,545
Downloads: 3,281,861 last month
Affected Version Ranges: >= 3.9.0, < 3.19.0
Fixed in: 3.19.0
All affected versions: 3.9.0, 3.9.1, 3.10.0, 3.10.1, 3.11.0, 3.12.0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 3.22.2, 3.22.3, 3.22.4, 3.22.5, 3.23.0, 3.24.0, 3.25.0, 3.26.0, 3.27.0, 3.28.0, 3.28.1, 3.28.2, 3.28.3, 3.28.4, 3.29.0, 3.30.0, 3.30.1, 3.31.0, 3.32.0, 3.33.0, 3.34.0, 3.34.1, 3.34.2, 3.35.0, 3.36.0, 3.37.0, 3.38.0, 3.39.0, 3.40.0, 3.41.0, 3.42.0, 3.43.0, 3.44.0, 3.45.0, 3.46.0, 3.47.0, 3.47.1, 3.48.0, 3.49.0, 3.50.0, 3.51.0, 3.51.2, 3.52.0, 3.53.0, 3.53.1, 3.55.0, 3.56.0, 3.57.0, 3.57.1, 3.57.2, 3.58.0, 3.59.0, 3.60.0, 3.60.1, 3.60.2, 3.60.3, 3.61.0, 3.62.0, 3.63.0, 3.63.1, 3.63.2, 3.64.0, 3.65.0, 3.65.1, 3.66.0, 3.67.0, 3.67.1, 3.68.0, 3.69.0, 3.69.1, 3.70.0, 3.71.0, 3.72.0, 3.72.1, 3.72.2, 3.72.3, 3.73.0, 3.74.0, 3.75.0, 3.76.0, 3.77.0, 3.78.0, 3.78.1, 3.78.2, 3.78.3, 3.78.4, 3.78.5, 3.78.6, 3.78.7, 3.78.8, 3.78.9, 3.78.10, 3.78.11, 3.78.12, 3.79.0, 3.80.0, 3.80.1, 3.80.2, 3.80.3, 3.80.4, 3.80.5, 3.81.0, 3.82.0, 3.83.0, 3.84.0, 3.84.1, 3.85.0, 3.86.0, 3.86.1, 3.87.0, 3.88.0, 3.89.0, 3.90.0, 3.91.0