ADVISORIES

GitHub Advisory Database

GHSA-vcvg-xgr8-p5gq

Arbitrary file read using percent-encoded relative paths in FileMiddleware

Moderate CVE-2020-15230

Details

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:

Affected packages

EcosystemPackageAffected versions
SwiftURLgithub.com/vapor/vapor
From 4.0.0-rc.2.5 before 4.29.4 (fixed in 4.29.4)

References