{"id":"CVE-2023-24807","published":"2023-02-16T17:30:19Z","modified":"2025-03-10T21:10:32Z","title":"Undici vulnerable to Regular Expression Denial of Service in Headers","vendor":"nodejs","product":"undici","tier":"tail","description":{"text":"Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers.set()` and `Headers.append()` methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the `headerValueNormalize()` utility function. This vulnerability was patched in v5.19.1. No known workarounds are available.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01315,"percentile":0.7146,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.19.1","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/bugs?report_id=1784449","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20230324-0010/","tags":[]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":14.29},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"undici","versions":["< 5.19.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T20:58:28.706642Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":["<5.19.1"],"patched":["5.19.1"],"from":["GHSA-r6ch-mqf9-qc9w"],"provenance":"source"}],"summary":{"text":"The Undici HTTP/1.1 client for Node.js contains a Regular Expression Denial of Service flaw in its Headers.set() and Headers.append() methods, caused by an inefficient regular expression used to normalize header values in the headerValueNormalize() utility. An attacker who can supply untrusted values to those methods over the network, without authentication or user interaction, can exhaust availability; the flaw affects versions prior to 5.19.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:44Z"},"euvd":{"id":"EUVD-2023-0786","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-35948","published":"2022-08-13","fixed":"5.8.2","kev":false,"link":{"from":"CVE-2022-35948","to":"CVE-2023-24807","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.8.2","toFixed":"5.19.1","daysApart":187}]}},{"cve":"CVE-2022-35949","published":"2022-08-12","fixed":"5.8.2","kev":false},{"cve":"CVE-2023-23936","published":"2023-02-16","fixed":"5.19.1","kev":false},{"cve":"CVE-2023-24807","published":"2023-02-16","fixed":"5.19.1","kev":false},{"cve":"CVE-2023-45143","published":"2023-10-12","fixed":"5.26.2","kev":false,"link":{"from":"CVE-2023-24807","to":"CVE-2023-45143","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.19.1","toFixed":"5.26.2","daysApart":238}]}},{"cve":"CVE-2024-24750","published":"2024-02-16","fixed":"6.6.1","kev":false},{"cve":"CVE-2024-24758","published":"2024-02-16","fixed":"6.6.1","kev":false}],"package":"npm:undici"}}