CVE-2024-56198 CRITICAL

CVE-2024-56198: path-sanitizer allows bypassing the existing filters to achieve path-traversal vulnerability

Vendor Cabraviva
Product path-sanitizer
Weakness CWE-22 · Path traversal
Published December 31, 2024
Last update December 31, 2024

CVSS base score

9.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 31, 2024 CVE published
December 31, 2024 Record updated