CVE-2022-21192
JSON

7.5high

Directory Traversal vulnerability in serve-lite

Severity
7.5high CVSS:3.1 by snyk
Exploit likelihood
1.43% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-5qq4-m6c3-xxmf

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

Product or packageVersionsReported by
serve-litebefore *CVE List
serve-lite (npm)up to 1.1.0GitHub Advisory Database
serve-lite_project serve-liteNot specifiedNVD

All scores

snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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

NVD (es)

Todas las versiones del paquete server-lite son vulnerables a Directory Traversal debido a la falta de sanitización de entrada u otras comprobaciones y protecciones empleadas en el req.url pasado tal cual a path.join().

References

Sources

SourceRecordLicence
CVE ListCVE-2022-21192 changed 2025-04-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-5qq4-m6c3-xxmf changed 2025-04-01CC-BY-4.0
NVDCVE-2022-21192 changed 2026-06-17Public domain