{"cve":"CVE-2018-3712","nvd":{"published":"2018-06-07T02:29:07.897","modified":"2026-06-17T01:57:42.443","status":"Modified","description":"serve node module before 6.4.9 suffers from a Path Traversal vulnerability due to not handling %2e (.) and %2f (/) and allowing them in paths, which allows a malicious user to view the contents of any directory with known path.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/zeit/serve/pull/316","https://hackerone.com/reports/307666","https://github.com/zeit/serve/pull/316","https://hackerone.com/reports/307666"],"products":["zeit:serve"],"source":"nvd","synced_at":"2026-10-19T20:50:40.212176939+00:00"},"epss":{"cve":"CVE-2018-3712","score":0.0179,"percentile":0.78366,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q2qh-cgc2-qhr3","url":"https://osv.dev/vulnerability/GHSA-q2qh-cgc2-qhr3","summary":"Directory Traversal in serve","modified":"2023-11-08T04:00:16.627483Z","packages":[{"ecosystem":"npm","name":"serve","purl":"pkg:npm/serve","ranges":["<6.4.9"],"fixed":["6.4.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}