{ "canonical_id": "undici--CVE-2023-23936", "system_id": "undici", "display_name": "Undici", "category": "frameworks", "advisory_mode": "core", "title": "CRLF Injection in Nodejs \u2018undici\u2019 via host", "summary": "### Impact\n\nundici library does not protect `host` HTTP header from CRLF injection vulnerabilities.\n\n### Patches\n\nThis issue was patched in Undici v5.19.1.\n\n### Workarounds\n\nSanitize the `headers.host` string before passing to undici.\n\n### References\n\nReported at https://hackerone.com/reports/1820955.\n\n### Credits\n\nThank you to Zhipeng Zhang ([@timon8](https://hackerone.com/timon8)) for reporting this vulnerability. ", "published_at": "2023-02-16T20:46:30Z", "updated_at": "2024-12-16T15:26:50.318903Z", "severity": "medium", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff", "secondary_source_urls": [ "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034", "https://nvd.nist.gov/vuln/detail/CVE-2023-23936", "https://hackerone.com/reports/1820955", "https://github.com/nodejs/undici", "https://github.com/nodejs/undici/releases/tag/v5.19.1" ], "aliases": [ "BIT-node-2023-23936", "BIT-node-min-2023-23936", "CVE-2023-23936", "GHSA-5r9g-qh6m-jxff" ], "cve_ids": [ "CVE-2023-23936" ], "ghsa_ids": [ "GHSA-5r9g-qh6m-jxff" ], "osv_ids": [ "GHSA-5r9g-qh6m-jxff" ], "affected_versions": [ "introduced=2.0.0, fixed<5.19.1" ], "fixed_versions": [ "5.19.1" ], "package_name": "undici", "render_markdown": true, "case_path": "07-framework-security/frameworks/undici/cases/undici-cve-2023-23936.md", "secure_code_topics": [ "ssrf-url-validation", "proxy-trust-boundary" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "undici-ssrf", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "OSV Undici", "NVD Undici" ], "source_kinds": [ "osv-batch", "nvd-search" ], "candidate_count": 2 } }