{"id":"UBUNTU-CVE-2024-43800","details":"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.","modified":"2026-05-20T16:08:54.490910061Z","published":"2024-09-10T15:15:00Z","upstream":["CVE-2024-43800"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-43800"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-43800"},{"type":"REPORT","url":"https://github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p"}],"affected":[{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-serve-static","binary_version":"1.6.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"}},{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-serve-static","binary_version":"1.6.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"}},{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.4-4","1.14.1-2","1.14.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.1-3","binary_name":"node-serve-static"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"}},{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.1-3","1.14.2+~1.13.10-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.2+~1.13.10-1","binary_name":"node-serve-static"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"}},{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0+~1.15.0-1","1.15.0+~1.15.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.15.0+~1.15.7-1","binary_name":"node-serve-static"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"}},{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.0+~1.15.7-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.0+~1.15.7-2","binary_name":"node-serve-static"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43800.json"}},{"package":{"name":"node-serve-static","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-serve-static?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"node-serve-static","binary_version":"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"}}],"schema_version":"1.7.5","severity":[{"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"}]}