{"id":"CVE-2023-24807","state":"PUBLISHED","title":"Undici vulnerable to Regular Expression Denial of Service in Headers","description":"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.","publishedAt":"2023-02-16T17:30:19.923Z","updatedAt":"2025-03-10T21:10:32.171Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nodejs undici"],"affected":[{"vendor":"nodejs","product":"undici","versions":[{"version":"< 5.19.1","status":"affected"}]}],"references":["https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w","https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf","https://github.com/nodejs/undici/releases/tag/v5.19.1","https://hackerone.com/bugs?report_id=1784449","https://security.netapp.com/advisory/ntap-20230324-0010/"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/24xxx/CVE-2023-24807.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-24807","state":"PUBLISHED","datePublished":"2023-02-16T17:30:19.923Z","dateUpdated":"2025-03-10T21:10:32.171Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-01-30T14:43:33.703Z"},"containers":{"cna":{"title":"Undici vulnerable to Regular Expression Denial of Service in Headers","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nodejs","product":"undici","versions":[{"version":"< 5.19.1","status":"affected"}]}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w","name":"https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf","name":"https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.19.1","name":"https://github.com/nodejs/undici/releases/tag/v5.19.1","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/bugs?report_id=1784449","name":"https://hackerone.com/bugs?report_id=1784449","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-16T17:30:19.923Z"},"source":{"advisory":"GHSA-r6ch-mqf9-qc9w","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20230324-0010/"},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w","name":"https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf","name":"https://github.com/nodejs/undici/commit/f2324e549943f0b0937b09fb1c0c16cc7c93abdf","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.19.1","name":"https://github.com/nodejs/undici/releases/tag/v5.19.1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://hackerone.com/bugs?report_id=1784449","name":"https://hackerone.com/bugs?report_id=1784449","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:03:19.291Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:58:28.706642Z","id":"CVE-2023-24807","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:10:32.171Z"}}]}}}