{"api_version":"1","generated_at":"2026-04-23T01:15:12+00:00","cve":"CVE-2022-31150","urls":{"html":"https://cve.report/CVE-2022-31150","api":"https://cve.report/api/cve/CVE-2022-31150.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31150","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31150"},"summary":{"title":"CVE-2022-31150","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-07-19 21:15:00","updated_at":"2022-10-28 18:31:00"},"problem_types":["CWE-93"],"metrics":[],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc","name":"https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc","refsource":"CONFIRM","tags":[],"title":"CRLF injection in request path, method, and headers · Advisory · nodejs/undici · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20220915-0002/","name":"https://security.netapp.com/advisory/ntap-20220915-0002/","refsource":"CONFIRM","tags":[],"title":"CVE-2022-31150 Node.js Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/nodejs/undici/releases/tag/v5.8.0","name":"https://github.com/nodejs/undici/releases/tag/v5.8.0","refsource":"MISC","tags":[],"title":"Release v5.8.0 · nodejs/undici · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://hackerone.com/reports/409943","name":"https://hackerone.com/reports/409943","refsource":"MISC","tags":[],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31150","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31150","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"31150","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodejs","cpe5":"undici","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-31150","qid":"753302","title":"SUSE Enterprise Linux Security Update for nodejs16 (SUSE-SU-2022:3251-1)"},{"cve":"CVE-2022-31150","qid":"753318","title":"SUSE Enterprise Linux Security Update for nodejs16 (SUSE-SU-2022:3250-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-31150","STATE":"PUBLIC","TITLE":"CRLF injection in request headers"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"undici","version":{"version_data":[{"version_value":"< v5.7.1, >= v5.8.0"}]}}]},"vendor_name":"nodejs"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc","refsource":"CONFIRM","url":"https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc"},{"name":"https://hackerone.com/reports/409943","refsource":"MISC","url":"https://hackerone.com/reports/409943"},{"name":"https://github.com/nodejs/undici/releases/tag/v5.8.0","refsource":"MISC","url":"https://github.com/nodejs/undici/releases/tag/v5.8.0"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220915-0002/","url":"https://security.netapp.com/advisory/ntap-20220915-0002/"}]},"source":{"advisory":"GHSA-3cvr-822r-rqcc","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-07-19 21:15:00","lastModifiedDate":"2022-10-28 18:31:00","problem_types":["CWE-93"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":2.5}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*","versionEndExcluding":"5.8.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}