{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-32221",
        "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "assignerShortName": "hackerone",
        "dateUpdated": "2024-08-03T07:32:56.010Z",
        "dateReserved": "2022-06-01T00:00:00",
        "datePublished": "2022-12-05T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
                "shortName": "hackerone",
                "dateUpdated": "2023-05-17T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "https://github.com/curl/curl",
                    "versions": [
                        {
                            "version": "Fixed in 7.86.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://hackerone.com/reports/1704017"
                },
                {
                    "name": "GLSA-202212-01",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202212-01"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20230110-0006/"
                },
                {
                    "url": "https://support.apple.com/kb/HT213604"
                },
                {
                    "url": "https://support.apple.com/kb/HT213605"
                },
                {
                    "name": "20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2023/Jan/20"
                },
                {
                    "name": "20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2023/Jan/19"
                },
                {
                    "name": "DSA-5330",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2023/dsa-5330"
                },
                {
                    "name": "[debian-lts-announce] 20230128 [SECURITY] [DLA 3288-1] curl security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20230208-0002/"
                },
                {
                    "name": "[oss-security] 20230517 curl: CVE-2023-28322: more POST-after-PUT confusion",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2023/05/17/4"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "Information Disclosure (CWE-200)",
                            "cweId": "CWE-200"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T07:32:56.010Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://hackerone.com/reports/1704017",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202212-01",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202212-01"
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230110-0006/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT213604",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT213605",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2023/Jan/20"
                    },
                    {
                        "name": "20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2023/Jan/19"
                    },
                    {
                        "name": "DSA-5330",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2023/dsa-5330"
                    },
                    {
                        "name": "[debian-lts-announce] 20230128 [SECURITY] [DLA 3288-1] curl security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html"
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230208-0002/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "[oss-security] 20230517 curl: CVE-2023-28322: more POST-after-PUT confusion",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2023/05/17/4"
                    }
                ]
            }
        ]
    }
}