Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @graphql-mesh/http
  4. ›
  5. GMS-2023-393

GMS-2023-393: Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler

February 16, 2023

Missing check vulnerability in the static file handler allows any client to access the files in the server’s file system. When staticFiles is set in the serve settings in the configuration file, the following handler doesn’t check if absolutePath is still under the directory provided as staticFiles;

References

  • github.com/Urigo/graphql-mesh/commit/95d93e7c140c2995b37e9d822aa3fe4e24ed2e78
  • github.com/Urigo/graphql-mesh/security/advisories/GHSA-j2wh-wrv3-4x4g
  • github.com/advisories/GHSA-j2wh-wrv3-4x4g

Code Behaviors & Features

Detect and mitigate GMS-2023-393 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 before 0.3.19

Fixed versions

  • 0.3.19

Solution

Upgrade to version 0.3.19 or above.

Source file

npm/@graphql-mesh/http/GMS-2023-393.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:59 +0000.