{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "cveId": "CVE-2023-38545",
        "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "state": "PUBLISHED",
        "assignerShortName": "hackerone",
        "dateReserved": "2023-07-20T01:00:12.444Z",
        "datePublished": "2023-10-18T03:52:00.816Z",
        "dateUpdated": "2024-10-17T21:16:30.994Z"
    },
    "containers": {
        "cna": {
            "descriptions": [
                {
                    "lang": "en",
                    "value": "This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy\nhandshake.\n\nWhen curl is asked to pass along the host name to the SOCKS5 proxy to allow\nthat to resolve the address instead of it getting done by curl itself, the\nmaximum length that host name can be is 255 bytes.\n\nIf the host name is detected to be longer, curl switches to local name\nresolving and instead passes on the resolved address only. Due to this bug,\nthe local variable that means \"let the host resolve the name\" could get the\nwrong value during a slow SOCKS5 handshake, and contrary to the intention,\ncopy the too long host name to the target buffer instead of copying just the\nresolved address there.\n\nThe target buffer being a heap based buffer, and the host name coming from the\nURL that curl has been told to operate with.\n"
                }
            ],
            "affected": [
                {
                    "vendor": "curl",
                    "product": "curl",
                    "versions": [
                        {
                            "version": "8.4.0",
                            "status": "affected",
                            "lessThan": "8.4.0",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.69.0",
                            "status": "unaffected",
                            "lessThan": "7.69.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://curl.se/docs/CVE-2023-38545.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20231027-0009/"
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"
                },
                {
                    "url": "https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/"
                },
                {
                    "url": "https://support.apple.com/kb/HT214036"
                },
                {
                    "url": "https://support.apple.com/kb/HT214063"
                },
                {
                    "url": "https://support.apple.com/kb/HT214057"
                },
                {
                    "url": "https://support.apple.com/kb/HT214058"
                },
                {
                    "url": "http://seclists.org/fulldisclosure/2024/Jan/34"
                },
                {
                    "url": "http://seclists.org/fulldisclosure/2024/Jan/37"
                },
                {
                    "url": "http://seclists.org/fulldisclosure/2024/Jan/38"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20240201-0005/"
                },
                {
                    "url": "https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868"
                }
            ],
            "providerMetadata": {
                "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
                "shortName": "hackerone",
                "dateUpdated": "2023-10-18T03:52:00.816Z"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T17:46:56.235Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://curl.se/docs/CVE-2023-38545.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20231027-0009/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT214036",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT214063",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT214057",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT214058",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://seclists.org/fulldisclosure/2024/Jan/34",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://seclists.org/fulldisclosure/2024/Jan/37",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://seclists.org/fulldisclosure/2024/Jan/38",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20240201-0005/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-787",
                                "lang": "en",
                                "description": "CWE-787 Out-of-bounds Write"
                            }
                        ]
                    }
                ],
                "references": [
                    {
                        "url": "https://github.com/bcdannyboy/CVE-2023-38545",
                        "tags": [
                            "exploit"
                        ]
                    },
                    {
                        "url": "https://github.com/dbrugman/CVE-2023-38545-POC",
                        "tags": [
                            "exploit"
                        ]
                    },
                    {
                        "url": "https://github.com/UTsweetyfish/CVE-2023-38545",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 8.8,
                            "attackVector": "NETWORK",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "REQUIRED",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-10-17T21:11:03.346985Z",
                                "id": "CVE-2023-38545",
                                "options": [
                                    {
                                        "Exploitation": "PoC"
                                    },
                                    {
                                        "Automatable": "No"
                                    },
                                    {
                                        "Technical Impact": "Total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-17T21:16:30.994Z"
                }
            }
        ]
    },
    "dataVersion": "5.1"
}