{"id":"CVE-2022-21192","aliases":["CVE-2022-21192","GHSA-5qq4-m6c3-xxmf"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal vulnerability in serve-lite","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"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().","source":"nvd"}],"published":"2023-01-25T05:00:02.240Z","modified":"2026-06-17T04:25:42.947Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"serve-lite","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.0"}],"ecosystem":"npm","package":"serve-lite","purl":"pkg:npm/serve-lite","source":"ghsa"},{"ranges":[],"vendor":"serve-lite_project","product":"serve-lite","cpe":"cpe:2.3:a:serve-lite_project:serve-lite:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SERVELITE-3149916","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/lirantal/9ccdfda0edcb95e36d07a04b0b6c2db0","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21192","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/beenotung/serve-lite","tags":["package"],"sources":["ghsa"]}],"credits":["Liran Tal"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-01T14:54:26.143Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21192","url":"https://www.cve.org/CVERecord?id=CVE-2022-21192","licence":"CVE Terms of Use","modified":"2025-04-01T14:54:41.432Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5qq4-m6c3-xxmf","url":"https://github.com/advisories/GHSA-5qq4-m6c3-xxmf","licence":"CC-BY-4.0","modified":"2025-04-01T22:56:48.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21192","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21192","licence":"Public domain","modified":"2026-06-17T04:25:42.947Z"}],"updatedAt":"2026-11-25T22:58:18.324Z","epss":{"score":0.01433,"percentile":0.73846,"date":"2026-12-01T12:00:22.000Z"}}