GHSA-vcvg-xgr8-p5gq
Dashboard / Vulnerabilities / GHSA-vcvg-xgr8-p5gq
Summary: Arbitrary file read using percent-encoded relative paths in FileMiddleware
Details: ### Impact Attackers can access data at arbitrary filesystem paths on the same host as an application using `FileMiddleware`. ### Patches Version [4.29.4](https://github.com/vapor/vapor/releases/tag/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](https://github.com/vapor/vapor/issues) * Email us at [[email protected]](mailto:[email protected])
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/vapor/vapor
Affected packages
Package
Name: github.com/vapor/vapor
Purl: pkg:swift/github.com/vapor/vapor
Affected ranges
Type: SEMVER
Events:
