GitHub Advisoryadvisory · npm

GHSA-5qq4-m6c3-xxmf Directory Traversal vulnerability in serve-lite

HIGH Published 2023-01-26 Modified 2025-04-01 Official page ↗
Aliases
CVE-2022-21192
Ecosystem
npm
Packages
serve-lite
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-01-30

Affected packages

• npm serve-lite: <= 1.1.0 (no fix yet)

Description

All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization or other checks and protections employed to the req.url passed as-is to path.join().

Related

Alias · CVE (1)

  • CVE-2022-21192 All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization or other checks and… vulnerability

Weakness · CWE (1)

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

References