{"id":"CVE-2023-28322","aliases":["CVE-2023-28322","CURL-CVE-2023-28322"],"related":[],"kind":"vulnerability","state":"published","title":"more POST-after-PUT confusion","summary":"An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously wasused to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the second transfer. The problem exists in the logic for a reused handle when it is (expected to be) changed from a PUT to a POST.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously wasused to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the second transfer. The problem exists in the logic for a reused handle when it is (expected to be) changed from a PUT to a POST.","source":"cvelist"},{"lang":"en","text":"When doing HTTP(S) transfers, libcurl might erroneously use the read callback\n(`CURLOPT_READFUNCTION`) to ask for data to send, even when the\n`CURLOPT_POSTFIELDS` option has been set, if the same handle previously was\nused to issue a `PUT` request which used that callback.\n\nThis flaw may surprise the application and cause it to misbehave and either\nsend off the wrong data or use memory after free or similar in the second\ntransfer.\n\nThe problem exists in the logic for a reused handle when it is (expected to\nbe) changed from a PUT to a POST.","format":"markdown","source":"curl"},{"lang":"es","text":"Una vulnerabilidad de revelación de información existe en curl anterior a v8.1.0 al realizar transferencias HTTP(S), libcurl podría usar erróneamente la función de devolución de llamada de lectura ('CURLOPT_READFUNCTION') para solicitar datos a enviar, incluso cuando la opción 'CURLOPT_POSTFIELDS' ha sido configurada, si el mismo manejador se usó previamente para emitir una solicitud PUT que usó esa función de devolución de llamada. Este fallo puede sorprender a la aplicación y hacer que se comporte de forma incorrecta y que envíe datos incorrectos o use memoria después de liberarla o algo similar en la segunda transferencia. El problema existe en la lógica para un manejador reutilizado cuando se cambia (o se espera que se cambie) de un PUT a un POST.","source":"nvd"}],"published":"2023-05-17T08:00:00.000Z","modified":"2026-10-25T01:16:45.634Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"curl","scheme":"rating","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"Fixed in 8.1.0","status":"affected"}],"product":"https://github.com/curl/curl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.7","status":"affected","fixed":"8.1.0"},{"type":"git","introduced":"546572da0457f37c698c02d0a08d90fdfcbeedec","status":"affected","fixed":"7815647d6582c0a4900be2e1de6c5e61272c496b"}],"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","version":"37"},{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","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/1954658","tags":["exploit","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F4I75RDGX5ULSSCBE5BF3P5I5SFO7ULQ/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z2LIWHWKOVH24COGGBCVOWDXXIUPKOMK/","tags":["vendor-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"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00015.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Hiroki Kurosawa","Daniel Stenberg"],"assigner":"hackerone","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-02-13T19:43:16.334Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-28322","url":"https://www.cve.org/CVERecord?id=CVE-2023-28322","licence":"CVE Terms of Use","modified":"2026-02-13T19:43:18.938Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2023-28322","url":"https://osv.dev/vulnerability/CURL-CVE-2023-28322","licence":"MIT","modified":"2026-10-25T01:16:45.634Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-28322","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28322","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:58:24.404Z","epss":{"score":0.02211,"percentile":0.83113,"date":"2026-12-01T12:00:22.000Z"}}