Critical
node-http-server — security advisory
All versions of package http-server-node are vulnerable to Directory Traversal via use of --path-as-is.
- Products
- node-http-server
- Affected versions
- 14.1.1+~cs3.14.34-2, 14.1.1+~cs3.14.34-4, 14.1.1+~cs3.16.36-1, 14.1.1+~cs3.16.39-1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23797
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:35 UTC · Revision 1
Source evidence
All versions of package http-server-node are vulnerable to Directory Traversal via use of --path-as-is.
osv:UBUNTU-CVE-2021-23797
node-http-server
Fixed versions: Not specified
node-http-server
Fixed versions: Not specified
node-http-server
Fixed versions: Not specified
node-http-server
Fixed versions: Not specified
Complete source record
{
"id": "b534fdda1dbe3797d37e9ef0ddcb29f318c6f20c04853d50b0fd8a9ddb29df6b",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-23797",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-23797",
"summary": "All versions of package http-server-node are vulnerable to Directory Traversal via use of --path-as-is.",
"evidence": "osv:UBUNTU-CVE-2021-23797",
"products": [
{
"name": {
"value": "node-http-server",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "14.1.1+~cs3.14.34-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-http-server",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "14.1.1+~cs3.14.34-4",
"evidence": "/affected/1/versions"
},
{
"value": "14.1.1+~cs3.16.36-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-http-server",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "14.1.1+~cs3.16.39-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-http-server",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "14.1.1+~cs3.16.36-1",
"evidence": "/affected/3/versions"
},
{
"value": "14.1.1+~cs3.16.39-1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2021-23797",
"aliases": [
"UBUNTU-CVE-2021-23797"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-http-server",
"purl": "pkg:deb/ubuntu/node-http-server?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-http-server",
"binary_version": "14.1.1+~cs3.14.34-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-http-server",
"purl": "pkg:deb/ubuntu/node-http-server?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"14.1.1+~cs3.14.34-4",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-http-server",
"binary_version": "14.1.1+~cs3.16.36-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-http-server",
"purl": "pkg:deb/ubuntu/node-http-server?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-http-server",
"binary_version": "14.1.1+~cs3.16.39-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-http-server",
"purl": "pkg:deb/ubuntu/node-http-server?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"14.1.1+~cs3.16.36-1",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-http-server",
"binary_version": "14.1.1+~cs3.16.39-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:11.825534213Z",
"provider": "osv",
"upstream": [
"CVE-2021-23797"
],
"references": [
"https://ubuntu.com/security/CVE-2021-23797",
"https://security.snyk.io/vuln/SNYK-JS-HTTPSERVERNODE-1727656",
"https://www.cve.org/CVERecord?id=CVE-2021-23797"
]
},
"related_cves": [
{
"value": "CVE-2021-23797",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 356879,
"published_at": "2021-12-17T20:15:00+00:00"
}