CVE-2022-0401CWE-22

Path Traversal in yuda-lyu/w-zip

Critical · published February 1, 2022

CVSS v3.0
9.4
EPSS
2%
Percentile
75.9
In the wild
Unconfirmed
What it is

🚨 A sneaky path traversal flaw in NPM's w-zip lets attackers navigate your file system like a raccoon rummaging through a picnic! Think of it like a delivery driver following a poorly written address. Instead of just delivering your package, they might end up in your garage, rifling through your boxes and taking whatever looks tempting! An attacker could exploit this vulnerability to access any files accessible to the application, potentially exposing sensitive information or even modifying critical files. This could lead to data breaches, altered configurations, or worse, enabling further attacks. It’s absolutely devastating if left unchecked!

Put simply

Think of it like a delivery driver following a poorly written address. Instead of just delivering your package, they might end up in your garage, rifling through your boxes and taking whatever looks tempting! This path traversal vulnerability allows attackers to manipulate file paths and access files outside of the intended directories. In versions prior to 1.0.12 of w-zip, the application does not properly sanitize input, making it easy to exploit.

What to do

An attacker could exploit this vulnerability to access any files accessible to the application, potentially exposing sensitive information or even modifying critical files. This could lead to data breaches, altered configurations, or worse, enabling further attacks. It’s absolutely devastating if left unchecked! Upgrade to w-zip version 1.0.12 or later immediately. Review your application’s permissions and ensure that proper file path validation is enforced. Regularly audit your dependencies to stay ahead of such vulnerabilities! You've got this! Patch that vulnerability and secure your applications like the hero you are! 🛡️

The record
Technical detail
CVSS v3.0
9.4 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01623 · 75.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2022-02-01T12:28Z
EPSS history
Timeline
  • 01 FEB 12:28Z
    Path Traversal in yuda-lyu/w-zip
    cvelistv5