Arbitrary File Read Affecting github.com/vapor/vapor package, versions >=4.0.0-rc.2.5 <4.29.4


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.11% (44th percentile)
Expand this section
NVD
6.5 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-SWIFT-VAPORVAPOR-3097831
  • published 6 Nov 2022
  • disclosed 2 Nov 2022
  • credit Lee M (lmcd)

How to fix?

Upgrade vapor/vapor to version 4.29.4 or higher.

Overview

vapor/vapor is an a server-side Swift HTTP web framework.

Affected versions of this package are vulnerable to Arbitrary File Read. This can be caused by using percent-encoded relative paths in FileMiddleware.