Rapid7 Vulnerability & Exploit Database

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

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Amazon Linux AMI 2: CVE-2022-35260: 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
12/09/2022

Description

curl can be told to parse a `.netrc` file for credentials. If that file endsin a line with 4095 consecutive non-white space letters and no newline, curlwould first read past the end of the stack-based buffer, and if the readworks, write a zero byte beyond its boundary.This will in most cases cause a segfault or similar, but circumstances might also cause different outcomes.If a malicious user can provide a custom netrc file to an application or otherwise affect its contents, this flaw could be used as denial-of-service.

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

;