Critical severity9.8NVD Advisory· Published Dec 5, 2022· Updated Jun 17, 2026
CVE-2022-32221
CVE-2022-32221
Description
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 was used 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 subsequent POST request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
58- osv-coords56 versionspkg:apk/chainguard/curlpkg:apk/chainguard/curl-devpkg:apk/chainguard/curl-docpkg:apk/chainguard/curl-oci-entrypointpkg:apk/chainguard/curl-staticpkg:apk/chainguard/libcurl4pkg:apk/chainguard/libcurl-openssl4pkg:apk/wolfi/curlpkg:apk/wolfi/curl-devpkg:apk/wolfi/curl-docpkg:apk/wolfi/curl-oci-entrypointpkg:apk/wolfi/curl-staticpkg:apk/wolfi/libcurl4pkg:apk/wolfi/libcurl-openssl4pkg:rpm/almalinux/curlpkg:rpm/almalinux/curl-minimalpkg:rpm/almalinux/libcurlpkg:rpm/almalinux/libcurl-develpkg:rpm/almalinux/libcurl-minimalpkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%20Micro%205.2pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/curl&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/curl&distro=SUSE%20Manager%20Server%204.1pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 7.86.0-r0+ 55 more
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.76.1-19.el9_1.1
- (no CPE)range: < 7.76.1-19.el9_1.1
- (no CPE)range: < 7.76.1-19.el9_1.1
- (no CPE)range: < 7.76.1-19.el9_1.1
- (no CPE)range: < 7.76.1-19.el9_1.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.79.1-150400.5.9.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.86.0-1.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.79.1-150400.5.9.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.79.1-150400.5.9.1
- (no CPE)range: < 7.37.0-37.85.1
- (no CPE)range: < 7.37.0-37.85.1
- (no CPE)range: < 7.60.0-4.43.1
- (no CPE)range: < 7.60.0-11.49.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.60.0-4.43.1
- (no CPE)range: < 7.60.0-11.49.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.60.0-150000.38.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.60.0-11.49.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.66.0-150200.4.42.1
- (no CPE)range: < 7.60.0-4.43.1
- (no CPE)range: < 7.60.0-4.43.1
Patches
Vulnerability mechanics
References
11- hackerone.com/reports/1704017nvdExploitIssue TrackingThird Party Advisory
- seclists.org/fulldisclosure/2023/Jan/19nvdMailing ListThird Party Advisory
- seclists.org/fulldisclosure/2023/Jan/20nvdMailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2023/01/msg00028.htmlnvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/202212-01nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20230110-0006/nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20230208-0002/nvdThird Party Advisory
- support.apple.com/kb/HT213604nvdThird Party Advisory
- support.apple.com/kb/HT213605nvdThird Party Advisory
- www.debian.org/security/2023/dsa-5330nvdThird Party Advisory
- www.openwall.com/lists/oss-security/2023/05/17/4nvdMailing List
News mentions
0No linked articles in our index yet.