CVE-2024-43796express vulnerable to XSS via response.redirect()
Express.js minimalist web framework for node. In express < 4.20.0, passing untrusted user input - even after sanitizing it - to response.redirect() may execute untrusted code. This issue is patched in express 4.20.0.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | node-express | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | node-express | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | node-express | Fix pending | 4.19.2+~cs8.36.21-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-43796 |
| Ubuntu 22.04 | node-express | Fix pending | 4.17.3+~4.17.13-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-43796 |
| Ubuntu 20.04 | node-express | Fix pending | 4.17.1-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-43796 |
| Ubuntu 18.04 | node-express | Fix pending | 4.1.1~dfsg-1ubuntu0.18.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-43796 |
| Ubuntu 16.04 | node-express | Fix pending | 4.1.1~dfsg-1ubuntu0.16.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-43796 |
| Debian 14 | node-express | Fixed | 4.21.0+~cs8.36.26-1 | DEBIAN-CVE-2024-43796 |
| Debian 13 | node-express | Fixed | 4.21.0+~cs8.36.26-1 | DEBIAN-CVE-2024-43796 |
| Debian 12 | node-express | Fix pending | DEBIAN-CVE-2024-43796 | |
| Red Hat Enterprise Linux 10 | cldr-emoji-annotation | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | cldr-emoji-annotation-dtd | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | cockpit-ha-cluster | Not affected | ||
| Red Hat Enterprise Linux 10 | pcs | Not affected | ||
| Red Hat Enterprise Linux 10 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | cldr-emoji-annotation | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | cldr-emoji-annotation-dtd | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | cldr-emoji-annotation | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 7 | thunderbird | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | thunderbird | Will not fix Out of support scope | ||
| npm library | express | Fixed | 5.0.0 | GHSA-qw6h-vgh9-j6wx |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- expressjs express: affected: < 4.20.0, >= 5.0.0-alpha.1, < 5.0.0
References
- https://github.com/expressjs/express/security/advisories/GHSA-qw6h-vgh9-j6wx
- https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.