GitHub Advisoryadvisory · npm

GHSA-vx5w-cxch-wwc9 Path Traversal in f-serv

CRITICAL Published 2020-09-03 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
f-serv
Severity
Critical
Weaknesses
CWE-22
Reviewed
2020-08-31

Affected packages

• npm f-serv: >= 0.0.0 (no fix yet)

Description

All versions of `f-serv` are vulnerable to Path Traversal. Due to insufficient input sanitization in URLs, attackers can access server files by using relative paths when fetching files. Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References