Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS12Y3ZnLXhncjgtcDVncc4AAzw7
Arbitrary file read using percent-encoded relative paths in FileMiddleware
Impact
Attackers can access data at arbitrary filesystem paths on the same host as an application using FileMiddleware
.
Patches
Version 4.29.4
Workarounds
Upgrade to 4.24.4 or later, or disable FileMiddleware
.
References
- Introduced in https://github.com/vapor/vapor/pull/2223
- Fixed by https://github.com/vapor/vapor/pull/2500
For more information
If you have any questions or comments about this advisory:
- Open an issue
- Email us at [email protected]
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12Y3ZnLXhncjgtcDVncc4AAzw7
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 11 months ago
Updated: 11 months ago
CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-vcvg-xgr8-p5gq, CVE-2020-15230
References:
- https://github.com/vapor/vapor/security/advisories/GHSA-vcvg-xgr8-p5gq
- https://nvd.nist.gov/vuln/detail/CVE-2020-15230
- https://github.com/vapor/vapor/pull/2500
- https://github.com/vapor/vapor/commit/cf1651f7ff76515593f4d8ca6e6e15d2247fe255
- https://github.com/advisories/GHSA-vcvg-xgr8-p5gq
Blast Radius: 18.9
Affected Packages
swift:github.com/vapor/vapor
Dependent packages: 105Dependent repositories: 796
Downloads:
Affected Version Ranges: >= 4.0.0-rc.2.5, < 4.29.4
Fixed in: 4.29.4
All affected versions:
All unaffected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.4.1,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.77.2, 4.78.0, 4.78.1, 4.78.2, 4.79.0, 4.80.0, 4.81.0, 4.81.1, 4.82.0, 4.83.0, 4.83.1, 4.83.2, 4.84.0, 4.84.1, 4.84.2, 4.84.3, 4.84.4, 4.84.5, 4.84.6, 4.85.0, 4.85.1, 4.86.0, 4.86.1, 4.86.2, 4.87.0, 4.87.1, 4.88.0, 4.89.0, 4.89.1, 4.89.2, 4.89.3, 4.90.0, 4.91.0, 4.91.1, 4.92.0, 4.92.1, 4.92.2, 4.92.3, 4.92.4, 4.92.5, 4.92.6, 4.92.7, 4.92.8, 4.92.9, 4.93.0, 4.93.1, 4.93.2, 4.94.0, 4.94.1