{"id":"CVE-2023-28319","aliases":["CVE-2023-28319","CURL-CVE-2023-28319"],"related":[],"kind":"vulnerability","state":"published","title":"UAF in SSH sha256 fingerprint check","summary":"A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed.","source":"cvelist"},{"lang":"en","text":"libcurl offers a feature to verify an SSH server's public key using a SHA 256\nhash. When this check fails, libcurl would free the memory for the fingerprint\nbefore it returns an error message containing the (now freed) hash.\n\nThis flaw risks inserting sensitive heap-based data into the error message\nthat might be shown to users or otherwise get leaked and revealed.","format":"markdown","source":"curl"},{"lang":"es","text":"Una vulnerabilidad de uso después de liberación existe en curl anterior a v8.1.0 en la forma en que libcurl ofrece una característica para verificar la clave pública de un servidor SSH utilizando un hash SHA 256. Cuando esta verificación falla, libcurl liberaría la memoria para la huella digital antes de que devuelva un mensaje de error que contiene el hash (ahora liberado). Este fallo conlleva el riesgo de insertar datos sensibles basados en el heap en el mensaje de error que podría mostrarse a los usuarios o de otro modo filtrarse y revelarse.","source":"nvd"}],"published":"2023-05-17T08:00:00.000Z","modified":"2026-10-25T01:05:05.458Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"curl","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"Fixed in 8.1.0","status":"affected"}],"product":"https://github.com/curl/curl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.81.0","status":"affected","fixed":"8.1.0"},{"type":"git","introduced":"3467e89bb97e6c87c77e82a046c59cb4b2d29a74","status":"affected","fixed":"8e21b1a05f3c0ee098dbcb6c3d84cb61f102a122"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","fixed":"8.1.0"}],"vendor":"haxx","product":"curl","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"11.0","fixed":"11.7.9"},{"status":"affected","introduced":"12.0","fixed":"12.6.8"},{"status":"affected","introduced":"13.0","fixed":"13.5"}],"vendor":"apple","product":"macos","cpe":"cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"clustered_data_ontap","cpe":"cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"ontap_antivirus_connector","cpe":"cpe:2.3:a:netapp:ontap_antivirus_connector:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h300s_firmware","cpe":"cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h500s_firmware","cpe":"cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h700s_firmware","cpe":"cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h410s_firmware","cpe":"cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/1913733","tags":["exploit","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230609-0009/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://support.apple.com/kb/HT213843","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://support.apple.com/kb/HT213844","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://support.apple.com/kb/HT213845","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/52","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/48","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2023/Jul/47","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202310-12","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Wei Chong Tan","Daniel Stenberg"],"assigner":"hackerone","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-01-15T15:59:44.698Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-28319","url":"https://www.cve.org/CVERecord?id=CVE-2023-28319","licence":"CVE Terms of Use","modified":"2025-01-15T16:00:16.843Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2023-28319","url":"https://osv.dev/vulnerability/CURL-CVE-2023-28319","licence":"MIT","modified":"2026-10-25T01:05:05.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-28319","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28319","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:58:24.401Z","epss":{"score":0.02281,"percentile":0.83878,"date":"2026-11-30T12:00:22.000Z"}}