{"id":"EUVD-2022-6547","revision":"d6fef85ea8c94cbeacd8dc89c903e1b7","records":[{"revision":"d6fef85ea8c94cbeacd8dc89c903e1b7","observedAt":"2026-11-03T22:04:50.817+00:00","statement":{"source":"euvd","id":"EUVD-2022-6547","aliases":["CVE-2022-35948","GHSA-f772-66g8-q5h3"],"title":"undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection_ on headers when using unsanitized input as request headers, more specifically, inside the `content-type` header. Examp…","description":"undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection_ on headers when using unsanitized input as request headers, more specifically, inside the `content-type` header. Example: ``` import { request } from 'undici' const unsanitizedContentTypeInput = 'application/json\\r\\n\\r\\nGET /foo2 HTTP/1.1' await request('http://localhost:3000, { method: 'GET', headers: { 'content-type': unsanitizedContentTypeInput }, }) ``` The above snippet will perform two requests in a single `request` API call: 1) `http://localhost:3000/` 2) `http://localhost:3000/foo2` This issue was patched in Undici v5.8.1. Sanitize input when sending content-type headers using user input as a workaround.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"severity":null}],"references":["https://github.com/nodejs/undici/releases/tag/v5.8.2","https://github.com/nodejs/undici/security/advisories/GHSA-f772-66g8-q5h3","https://github.com/nodejs/undici/commit/66165d604fd0aee70a93ed5c44ad4cc2df395f80"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-6547","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 13, 2022, 12:00:00 AM","dateUpdated":"Apr 22, 2025, 5:42:05 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2022-1933","title":"Red Hat Satellite und Red Hat Enterprise Linux: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2022-25858","CVE-2022-35948","CVE-2022-35949"]},{"id":"SUSE-SU-2022:3250-1","title":"Security update for nodejs16","vulnerabilityIds":["CVE-2022-29244","CVE-2022-31150","CVE-2022-35948","CVE-2022-35949"]},{"id":"SUSE-SU-2022:3196-1","title":"Security update for nodejs16","vulnerabilityIds":["CVE-2022-29244","CVE-2022-31150","CVE-2022-35948","CVE-2022-35949"]},{"id":"RHSA-2022:7276","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.8 security fixes and container updates","vulnerabilityIds":["CVE-2022-2238","CVE-2022-25858","CVE-2022-31129","CVE-2022-35948","CVE-2022-35949"]},{"id":"SUSE-SU-2022:3251-1","title":"Security update for nodejs16","vulnerabilityIds":["CVE-2022-29244","CVE-2022-31150","CVE-2022-35948","CVE-2022-35949"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-6547","identifiers":["EUVD-2022-6547","CVE-2022-35948","GHSA-f772-66g8-q5h3"]},"retained":false,"historicalAffected":[]}],"coverage":[]}