{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-23936",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')",
                        "cweId": "CWE-93"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "nodejs",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "undici",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": ">=2.0.0, < 5.19.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff",
                "refsource": "MISC",
                "name": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff"
            },
            {
                "url": "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034",
                "refsource": "MISC",
                "name": "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034"
            },
            {
                "url": "https://hackerone.com/reports/1820955",
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1820955"
            },
            {
                "url": "https://github.com/nodejs/undici/releases/tag/v5.19.1",
                "refsource": "MISC",
                "name": "https://github.com/nodejs/undici/releases/tag/v5.19.1"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-5r9g-qh6m-jxff",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
                "version": "3.1"
            }
        ]
    }
}