Skip to main content
← All vulnerabilities
CVE-2024-56198GHSA-94P5-R7CC-3RPR

path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

path-sanitizer is a simple lightweight npm package for sanitizing paths to prevent Path Traversal. Prior to 3.1.0, the filters can be bypassed using .=%5c which results in a path traversal. This vulnerability is fixed in 3.1.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • cabraviva path-sanitizer

    fixed in 3.1.0

  • path-sanitizernpm

    fixed in 3.1.0

References 3

GitHub · cabraviva/path-sanitizer

loom.com