{"id":"CVE-2023-38545","revision":null,"records":[{"revision":"1354d11706a34b89b9d599c7d1024835","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-38545","aliases":[],"title":"This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy","description":"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.","state":0,"publishedAt":"2023-10-18T03:52:00.816+00:00","modifiedAt":"2026-10-14T23:35:01.977+00:00","affected":[{"ecosystem":"Vendor product","name":"curl","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"curl\",\n                    \"product\": \"curl\",\n                    \"versions\": [\n                        {\n                            \"version\": \"8.4.0\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"8.4.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.69.0\",\n                            \"status\": \"unaffected\",\n                            \"lessThan\": \"7.69.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://curl.se/docs/CVE-2023-38545.html","https://security.netapp.com/advisory/ntap-20231027-0009/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/","https://www.secpod.com/blog/high-severity-heap-buffer-overflow-vulnerability/","https://support.apple.com/kb/HT214036","https://support.apple.com/kb/HT214063","https://support.apple.com/kb/HT214057","https://support.apple.com/kb/HT214058","http://seclists.org/fulldisclosure/2024/Jan/34","http://seclists.org/fulldisclosure/2024/Jan/37","http://seclists.org/fulldisclosure/2024/Jan/38","https://security.netapp.com/advisory/ntap-20240201-0005/","https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-38545","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-38545","identifiers":["CVE-2023-38545"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T22:04:21.7510311+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-09T22:04:21.7510311+00:00","lastSuccessAt":"2026-11-09T22:04:21.9174281+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.9174285+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-496c6c80845a4235d695039f4a651d70f3b55bc53fc01f5ca259c734136db852","complete":true,"records":421688,"lastAttemptAt":"2026-11-09T22:02:15.6116354+00:00","lastSuccessAt":"2026-11-09T22:02:15.4777453+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:02:15.6116354+00:00","snapshotPublishedAt":"2026-11-09T21:30:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5522e4ae35aa4bdc9d39e95136c0428b","complete":false,"records":13672,"lastAttemptAt":"2026-11-09T22:17:03.1981375+00:00","lastSuccessAt":"2026-11-09T22:17:03.194+00:00","error":"27 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-09T22:17:03.194+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13207,"expectedIdentifiers":13725,"failedIdentifiers":27},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T22:04:21.7510311+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T22:04:21.7510311+00:00","lastSuccessAt":"2026-11-09T22:04:21.9181937+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.9181977+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8b527f7960454708a3fcfe8f37f191e9","complete":false,"records":13680,"lastAttemptAt":"2026-11-09T22:04:47.0464678+00:00","lastSuccessAt":"2026-11-09T22:04:47.043+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:47.043+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13704,"expectedIdentifiers":13725,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-422f1ff5212ec8e62457b7c5d867c0d7ff5bdd57ee4fe937d3d7712d35f862bb","complete":true,"records":9919,"lastAttemptAt":"2026-11-09T22:04:21.6095423+00:00","lastSuccessAt":"2026-11-09T22:04:21.3703177+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.6095423+00:00","snapshotPublishedAt":"2026-11-09T22:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T22:02:15.7662034+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:02:15.7662034+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-761ecc9061239b0da572dc9254c6f384c1d19339eb08408c436647a2f26129e9","complete":true,"records":3064,"lastAttemptAt":"2026-11-09T22:04:21.7141844+00:00","lastSuccessAt":"2026-11-09T17:05:03.4044794+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:21.7141844+00:00","snapshotPublishedAt":"2026-11-09T16:33:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-cefd5e58c60b69931053d90de4b49991fc540e6131b53c29cfa39467d9128b3a","complete":true,"records":231328,"lastAttemptAt":"2026-11-09T22:04:12.3749697+00:00","lastSuccessAt":"2026-11-09T22:04:10.8762138+00:00","error":null,"lastVerifiedAt":"2026-11-09T22:04:12.3749697+00:00","snapshotPublishedAt":"2026-11-09T21:48:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}