{"id":"UBUNTU-CVE-2021-23797","details":"All versions of package http-server-node are vulnerable to Directory Traversal via use of --path-as-is.","modified":"2026-05-20T16:04:49.140982525Z","published":"2021-12-17T20:15:00Z","upstream":["CVE-2021-23797"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23797"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-JS-HTTPSERVERNODE-1727656"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23797"}],"affected":[{"package":{"name":"node-http-server","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-http-server?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.1.1+~cs3.14.34-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-http-server","binary_version":"14.1.1+~cs3.14.34-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23797.json"}},{"package":{"name":"node-http-server","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-http-server?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.1.1+~cs3.14.34-4","14.1.1+~cs3.16.36-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-http-server","binary_version":"14.1.1+~cs3.16.36-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23797.json"}},{"package":{"name":"node-http-server","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-http-server?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["14.1.1+~cs3.16.36-1","14.1.1+~cs3.16.39-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-http-server","binary_version":"14.1.1+~cs3.16.39-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23797.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}