Advisory Database
  • Advisories
  • Dependency Scanning
  1. swift
  2. ›
  3. github.com/vapor/vapor
  4. ›
  5. CVE-2020-15230

CVE-2020-15230: Arbitrary file read using percent-encoded relative paths in FileMiddleware

June 9, 2023

Attackers can access data at arbitrary filesystem paths on the same host as an application using FileMiddleware.

References

  • github.com/advisories/GHSA-vcvg-xgr8-p5gq
  • github.com/vapor/vapor
  • github.com/vapor/vapor/commit/cf1651f7ff76515593f4d8ca6e6e15d2247fe255
  • github.com/vapor/vapor/pull/2500
  • github.com/vapor/vapor/security/advisories/GHSA-vcvg-xgr8-p5gq
  • nvd.nist.gov/vuln/detail/CVE-2020-15230

Detect and mitigate CVE-2020-15230 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0-rc.2.5 before 4.29.4

Fixed versions

  • 4.29.4

Solution

Upgrade to version 4.29.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

swift/github.com/vapor/vapor/CVE-2020-15230.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.