Wind River Support Network

HomeDefectsLIN1019-9023
Acknowledged

LIN1019-9023 : Security Advisory - curl - CVE-2022-32221

Created: Oct 26, 2022    Updated: Dec 6, 2022
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

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.

https://nvd.nist.gov/vuln/detail/CVE-2022-32221
Live chat
Online