CVE-2025-47279
undici: Undici Memory Leak with Invalid Certificates
Overview
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.
Source: OX vulnerability database
Severity
3.1 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-401
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | <5.29.0>=6.0.0, <6.21.2>=7.0.0, <7.5.0 | 5.29.06.21.27.5.0 |
| Seal npm | @seal-security/undici | >=4.16.0-sp1, <4.16.0-sp999 | 4.16.0-sp999 |
| Seal npm | undici | >=4.16.0-sp0, <4.16.0-sp999 | 4.16.0-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 17 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:20.14.0-8.azl3 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:22) | nodejs +10 | affected |
| 9 (nodejs:22) | nodejs +4 | affected |
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs20-npm | 1:10.8.2-1.20.19.2.1.amzn2023.0.1 |
| 2023 | nodejs22-npm | 1:10.9.2-1.22.16.0.1.amzn2023.0.1 |
| 2023 | nodejs20 +7 | 1:20.19.2-1.amzn2023.0.1 |
| 2023 | nodejs22 +7 | 1:22.16.0-1.amzn2023.0.1 |
| 2023 | v8-11-3-devel | 3:11.3.244.8-1.20.19.2.1.amzn2023.0.1 |
| 2023 | v8-12-4-devel | 3:12.4.254.21-1.22.16.0.1.amzn2023.0.1 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| code-server | 4.100.2-r1 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 7.24.5+dfsg+~cs3.2.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kibana-8 | 8.19.0-r0 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici +1 | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4.aikido.6 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| code-server | 4.100.2-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-47279
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/f317618ec28753a4218beccea048bcf89c36db25
- github.com https://github.com/nodejs/undici/issues/3895
- github.com https://github.com/nodejs/undici/pull/4088
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-cxrh-j4jr-qwg3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-47279
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-47279
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.