Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. afire
  4. ›
  5. GHSA-3227-r97m-8j95

GHSA-3227-r97m-8j95: Relative Path Traversal in afire serve_static

April 22, 2022

This vulnerability effects the built-in afire serve_static extension allowing paths containing //.... to bypass the previous path sanitation and request files in higher directories that should not be accessible.

References

  • github.com/Basicprogrammer10/afire
  • github.com/Basicprogrammer10/afire/commit/da7904c04f82e1cb43cc42eaf6a1dba072b5c921
  • github.com/Basicprogrammer10/afire/releases/tag/v1.1.0
  • github.com/Basicprogrammer10/afire/security/advisories/GHSA-3227-r97m-8j95
  • github.com/advisories/GHSA-3227-r97m-8j95

Code Behaviors & Features

Detect and mitigate GHSA-3227-r97m-8j95 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 0.2.1 before 1.1.0

Fixed versions

  • 1.1.0

Solution

Upgrade to version 1.1.0 or above.

Weakness

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

Source file

cargo/afire/GHSA-3227-r97m-8j95.yml

Spotted a mistake? Edit the file on GitLab.

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

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