CVE-2025-47279: Undici Denial of Service Vulnerability
LOWCVE-2025-47279 is a LOW (CVSS 3.1) denial of service vulnerability (CWE-401: Missing Release of Memory after Effective Lifetime) affecting Undici libraries in the npm ecosystem. The issue involves undici denial of service attack via bad certificate data. Remediation is available by upgrading affected packages to version 5.29.0, 6.21.2, 7.5.0.
CVE-2025-47279 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2025-47279
To remediate this vulnerability, upgrade all affected Undici dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install undici@5.29.0
npm install undici@6.21.2
npm install undici@7.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls undici
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-47279, inspect your project dependencies using npm:
npm ls undici
Analyze the terminal output to locate any version of Undici in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.29.0), your application is affected.
Note: The npm ls undici command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-401: Missing Release of Memory after Effective Lifetime, where the product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. In Undici, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-47279 Affected Undici Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
undici
|
npm |
< 5.29.0
|
5.29.0
|
|
undici
|
npm |
≥ 6.0.0
< 6.21.2
|
6.21.2
|
|
undici
|
npm |
≥ 7.0.0
< 7.5.0
|
7.5.0
|
References
Frequently Asked Questions
What is CVE-2025-47279?
Which Undici versions are affected?
What version fixes CVE-2025-47279?
Is undici affected?
What is the CVSS score of CVE-2025-47279?
What CWE is associated with CVE-2025-47279?
How can I check npm dependencies for CVE-2025-47279?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cxrh-j4jr-qwg3",
"modified" : "2026-02-06T21:35:53Z",
"published" : "2025-05-15T14:15:06Z",
"aliases" : [ "CVE-2025-47279" ],
"summary" : "undici Denial of Service attack via bad certificate data",
"details" : "### Impact\n\nApplications 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. \n\n### Patches\n\nThis has been patched in https://github.com/nodejs/undici/pull/4088.\n\n### Workarounds\n\nIf a webhook fails, avoid keep calling it repeatedly.\n\n### References\n\nReported as: https://github.com/nodejs/undici/issues/3895",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.29.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.21.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/security/advisories/GHSA-cxrh-j4jr-qwg3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47279"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/issues/3895"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/pull/4088"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/commit/f317618ec28753a4218beccea048bcf89c36db25"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nodejs/undici"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-401" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-15T14:15:06Z",
"nvd_published_at" : "2025-05-15T18:15:38Z"
}
}