{"id":"CVE-2022-31150","aliases":["GHSA-3cvr-822r-rqcc"],"url":"https://o3.security/vulnerability/CVE-2022-31150","summary":"CRLF injection in request headers","details":"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:10Z","modified":"2026-08-12T03:51:19.732310378Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"undici","fixedVersion":"5.8.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/nodejs/undici/releases/tag/v5.8.0"},{"type":"WEB","url":"https://hackerone.com/reports/409943"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31150.json"},{"type":"ADVISORY","url":"https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31150"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220915-0002/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:19.732310378Z"}}