Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2022-32221: Security patch for curl (ALAS-2022-1882)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI 2: CVE-2022-32221: Security patch for curl (ALAS-2022-1882)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
12/05/2022
Created
12/07/2022
Added
12/07/2022
Modified
01/30/2023

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-curl
  • amazon-linux-ami-2-upgrade-curl-debuginfo
  • amazon-linux-ami-2-upgrade-libcurl
  • amazon-linux-ami-2-upgrade-libcurl-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;