nodejs/undici · Security
undici Denial of Service attack via bad certificate data
- GHSA ID
- GHSA-cxrh-j4jr-qwg3
- CVE ID
- CVE-2025-47279
- Severity
- low
- Published
- Updated
- CVSS
- 3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
- CVSS v3
- 3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Description
Impact
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.
Patches
This has been patched in https://github.com/nodejs/undici/pull/4088.
Workarounds
If a webhook fails, avoid keep calling it repeatedly.
References
Reported as: https://github.com/nodejs/undici/issues/3895
CWEs
- CWE-401 · Missing Release of Memory after Effective Lifetime
References
- https://github.com/nodejs/undici/security/advisories/GHSA-cxrh-j4jr-qwg3 ↗
- https://github.com/nodejs/undici/issues/3895 ↗
- https://github.com/nodejs/undici/pull/4088 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-47279 ↗
- https://github.com/nodejs/undici/commit/f317618ec28753a4218beccea048bcf89c36db25 ↗
- https://github.com/advisories/GHSA-cxrh-j4jr-qwg3 ↗