{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31150","id":"CVE-2022-31150","title":"CRLF injection in request headers","description":"undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\\r\\n` is a workaround for this issue.","descriptionLong":"undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\\r\\n` is a workaround for this issue.","published":"2022-07-19T20:40:10.000Z","updated":"2026-10-28T02:30:51.941329196Z","reserved":"2022-05-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["nodejs undici"],"affectedProducts":[{"vendor":"nodejs","product":"undici","defaultStatus":null,"versions":[{"status":"affected","version":"< v5.7.1, >= v5.8.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"undici","purl":"pkg:npm/undici","ranges":["<5.8.0"],"fixed":["5.8.0"],"advisory":"GHSA-3cvr-822r-rqcc"}],"cwes":["CWE-93"],"aliases":["GHSA-3cvr-822r-rqcc"],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://hackerone.com/reports/409943","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/nodejs/undici/releases/tag/v5.8.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0002/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31150.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31150","tags":["advisory"]},{"url":"https://github.com/nodejs/undici/commit/a29a151d0140d095742d21a004023d024fe93259","tags":["web"]},{"url":"https://github.com/nodejs/undici","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20220915-0002","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01515,"epssPercentile":0.75057,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31150","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31150","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31150","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3cvr-822r-rqcc","ok":true,"note":"GHSA-3cvr-822r-rqcc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31150","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nodejs"],"critical":[],"attention":null}