node-serve-static — security advisory
serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.
- Products
- node-serve-static
- Affected versions
- 1.14.1-2, 1.14.1-3, 1.14.2+~1.13.10-1, 1.15.0+~1.15.0-1, 1.15.0+~1.15.7-1, 1.6.4-2, 1.6.4-4, 2.1.0+~1.15.7-2, 2.2.0+~1.15.9-1, 2.2.0+~2.2.0-1build1, 2.2.1+~2.2.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2024-43800
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:13 UTC · Revision 1
Source evidence
serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.
osv:UBUNTU-CVE-2024-43800
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
node-serve-static
Fixed versions: Not specified
Complete source record
{
"id": "adeb91658b684aac0c130f3597178842f1a7febfce79288d9e83473d69b60322",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-43800",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-43800",
"summary": "serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.",
"evidence": "osv:UBUNTU-CVE-2024-43800",
"products": [
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.4-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.4-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.4-4",
"evidence": "/affected/2/versions"
},
{
"value": "1.14.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.14.1-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.14.1-3",
"evidence": "/affected/3/versions"
},
{
"value": "1.14.2+~1.13.10-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.15.0+~1.15.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.15.0+~1.15.7-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.0+~1.15.7-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1+~2.2.0-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "node-serve-static",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.0+~1.15.7-2",
"evidence": "/affected/7/versions"
},
{
"value": "2.2.0+~1.15.9-1",
"evidence": "/affected/7/versions"
},
{
"value": "2.2.0+~2.2.0-1build1",
"evidence": "/affected/7/versions"
},
{
"value": "2.2.1+~2.2.0-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-43800",
"aliases": [
"UBUNTU-CVE-2024-43800"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.6.4-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "1.6.4-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.6.4-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "1.6.4-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.6.4-4",
"1.14.1-2",
"1.14.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "1.14.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.14.1-3",
"1.14.2+~1.13.10-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "1.14.2+~1.13.10-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.15.0+~1.15.0-1",
"1.15.0+~1.15.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "1.15.0+~1.15.7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.1.0+~1.15.7-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "2.1.0+~1.15.7-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.2.1+~2.2.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "2.2.1+~2.2.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-serve-static",
"purl": "pkg:deb/ubuntu/node-serve-static?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.1.0+~1.15.7-2",
"2.2.0+~1.15.9-1",
"2.2.0+~2.2.0-1build1",
"2.2.1+~2.2.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-serve-static",
"binary_version": "2.2.1+~2.2.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:44.983770595Z",
"provider": "osv",
"upstream": [
"CVE-2024-43800"
],
"references": [
"https://ubuntu.com/security/CVE-2024-43800",
"https://www.cve.org/CVERecord?id=CVE-2024-43800",
"https://github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p"
]
},
"related_cves": [
{
"value": "CVE-2024-43800",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356138,
"published_at": "2024-09-10T15:15:00+00:00"
}