{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-23936",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-01-19T21:12:31.361Z",
        "datePublished": "2023-02-16T17:30:23.968Z",
        "dateUpdated": "2024-08-02T10:49:07.624Z"
    },
    "containers": {
        "cna": {
            "title": "CRLF Injection in Nodejs ‘undici’ via host",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-93",
                            "lang": "en",
                            "description": "CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff"
                },
                {
                    "name": "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034"
                },
                {
                    "name": "https://hackerone.com/reports/1820955",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://hackerone.com/reports/1820955"
                },
                {
                    "name": "https://github.com/nodejs/undici/releases/tag/v5.19.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/nodejs/undici/releases/tag/v5.19.1"
                }
            ],
            "affected": [
                {
                    "vendor": "nodejs",
                    "product": "undici",
                    "versions": [
                        {
                            "version": ">=2.0.0, < 5.19.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-16T17:30:23.968Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "source": {
                "advisory": "GHSA-5r9g-qh6m-jxff",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T10:49:07.624Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff"
                    },
                    {
                        "name": "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034"
                    },
                    {
                        "name": "https://hackerone.com/reports/1820955",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://hackerone.com/reports/1820955"
                    },
                    {
                        "name": "https://github.com/nodejs/undici/releases/tag/v5.19.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/nodejs/undici/releases/tag/v5.19.1"
                    }
                ]
            }
        ]
    }
}