Vulnerability · Published Jan 25, 2023 · Assigned by snyk

CVE-2022-21192

High 7.5

In plain English

A high-severity path traversal in serve-lite. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.4%top 27.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmserve-liteno fix listedGHSA-5qq4-m6c3-xxmf

Affected products (as reported)

VendorProductVersions
n/a serve-lite 0 – before *

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References