Upstream information

CVE-2021-22901 at MITRE

Description

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over a connection. A malicious server can use this in rare unfortunate circumstances to potentially reach remote code execution in the client. When libcurl at run-time sets up support for TLS 1.3 session tickets on a connection using OpenSSL, it stores pointers to the transfer in-memory object for later retrieval when a session ticket arrives. If the connection is used by multiple transfers (like with a reused HTTP/1.1 connection or multiplexed HTTP/2 connection) that first transfer object might be freed before the new session is established on that connection and then the function will access a memory buffer that might be freed. When using that memory, libcurl might even call a function pointer in the object, making it possible for a remote code execution if the server could somehow manage to get crafted memory content into the correct place in memory.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 8.1
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entries: 1186115 [RESOLVED / FIXED], 1188549 [NEW]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • curl >= 7.79.1-1.1
  • libcurl-devel >= 7.79.1-1.1
  • libcurl-devel-32bit >= 7.79.1-1.1
  • libcurl4 >= 7.79.1-1.1
  • libcurl4-32bit >= 7.79.1-1.1
Patchnames:
openSUSE Tumbleweed GA curl-7.79.1-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 curl Not affected
SUSE CaaS Platform 4.0 curl Not affected
SUSE Enterprise Storage 6 curl Not affected
SUSE Linux Enterprise High Performance Computing 12 SP5 curl Not affected
SUSE Linux Enterprise High Performance Computing 15 LTSS curl Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS curl Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 curl Not affected
SUSE Linux Enterprise Point of Service 11 SP3 curl Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS curl Not affected
SUSE Linux Enterprise Server 12 SP3 ESPOS curl Not affected
SUSE Linux Enterprise Server 12 SP3 LTSS curl Not affected
SUSE Linux Enterprise Server 12 SP4 ESPOS curl Not affected
SUSE Linux Enterprise Server 12 SP4 LTSS curl Not affected
SUSE Linux Enterprise Server 12 SP5 curl Not affected
SUSE Linux Enterprise Server 15 ESPOS curl Not affected
SUSE Linux Enterprise Server 15 LTSS curl Not affected
SUSE Linux Enterprise Server 15 SP1 LTSS curl Not affected
SUSE Linux Enterprise Server BCL 12 SP2 curl Not affected
SUSE Linux Enterprise Server BCL 12 SP3 curl Not affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 curl Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 curl Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 curl Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 curl Not affected
SUSE Linux Enterprise Server for SAP Applications 15 curl Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 curl Not affected
SUSE Manager Proxy 4.0 curl Not affected
SUSE Manager Retail Branch Server 4.0 curl Not affected
SUSE Manager Server 4.0 curl Not affected
SUSE OpenStack Cloud 8 curl Not affected
SUSE OpenStack Cloud 9 curl Not affected
SUSE OpenStack Cloud Crowbar 8 curl Not affected
SUSE OpenStack Cloud Crowbar 9 curl Not affected