Vulnerability · Published May 15, 2025 · Assigned by GitHub_M
CVE-2025-47279undici Denial of Service attack via bad certificate data
Low 3.1
In plain English
A low-severity memory leak in undici from nodejs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Undici is an HTTP/1.1 client for Node.js. Prior to versions 5.29.0, 6.21.2, and 7.5.0, applications that use undici to implement a webhook-like system are vulnerable. If the attacker set up a server with an invalid certificate, and they can force the application to call the webhook repeatedly, then they can cause a memory leak. This has been patched in versions 5.29.0, 6.21.2, and 7.5.0. As a workaound, avoid calling a webhook repeatedly if the webhook fails.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-undici | no fix listed | DEBIAN-CVE-2025-47279 |
| Debian:13 | node-undici | no fix listed | DEBIAN-CVE-2025-47279 |
| Debian:14 | node-undici | 7.24.5+dfsg+~cs3.2.0-1 | DEBIAN-CVE-2025-47279 |
| Ubuntu:24.04:LTS | node-undici | no fix listed | UBUNTU-CVE-2025-47279 |
| Ubuntu:25.10 | node-undici | no fix listed | UBUNTU-CVE-2025-47279 |
| Ubuntu:26.04:LTS | node-undici | no fix listed | UBUNTU-CVE-2025-47279 |
| Ubuntu:26.10 | node-undici | no fix listed | UBUNTU-CVE-2025-47279 |
| npm | undici | 7.5.0 | GHSA-cxrh-j4jr-qwg3 |
| npm | undici | 6.21.2 | GHSA-cxrh-j4jr-qwg3 |
| npm | undici | 5.29.0 | GHSA-cxrh-j4jr-qwg3 |
Affected products (as reported)
Weakness: CWE-401 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/nodejs/undici/security/advisories/GHSA-cxrh-j4jr-qwg3 x_refsource_CONFIRM
- https://github.com/nodejs/undici/issues/3895 x_refsource_MISC
- https://github.com/nodejs/undici/pull/4088 x_refsource_MISC
- https://github.com/nodejs/undici/commit/f317618ec28753a4218beccea048bcf89c36db25 x_refsource_MISC