Vulnerability CVE-2021-22890: Information

Description

curl 7.63.0 to and including 7.75.0 includes vulnerability that allows a malicious HTTPS proxy to MITM a connection due to bad handling of TLS 1.3 session tickets. When using a HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote server and then wrongly "short-cut" the host handshake. When confusing the tickets, a HTTPS proxy can trick libcurl to use the wrong session ticket resume for the host and thereby circumvent the server TLS certificate check and make a MITM attack to be possible to perform unnoticed. Note that such a malicious HTTPS proxy needs to provide a certificate that curl will accept for the MITMed server for an attack to work - unless curl has been told to ignore the server certificate check.

Severity: LOW (3.7) Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Published: April 1, 2021
Modified: March 27, 2024
Error type identifier: CWE-290

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
curlsisyphus7.76.0-alt18.7.1-alt2ALT-PU-2021-1581-1268693Fixed
curlp107.76.0-alt18.7.1-alt1ALT-PU-2021-1581-1268693Fixed
curlp97.76.0-alt17.79.0-alt2ALT-PU-2021-1601-1268718Fixed
curlc10f17.76.0-alt18.6.0-alt1ALT-PU-2021-1581-1268693Fixed
curlc9f27.77.0-alt18.6.0-alt1ALT-PU-2021-2146-1276672Fixed

References to Advisories, Solutions, and Tools

Hyperlink
Resource
https://hackerone.com/reports/1129529
  • Exploit
  • Issue Tracking
  • Patch
  • Third Party Advisory
https://curl.se/docs/CVE-2021-22890.html
  • Patch
  • Vendor Advisory
https://security.netapp.com/advisory/ntap-20210521-0007/
  • Third Party Advisory
GLSA-202105-36
  • Third Party Advisory
N/A
  • Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
  • Patch
  • Third Party Advisory
FEDORA-2021-cab5c9befb
  • Mailing List
  • Third Party Advisory
FEDORA-2021-065371f385
  • Mailing List
  • Third Party Advisory
FEDORA-2021-26a293c72b
  • Mailing List
  • Third Party Advisory
    1. Configuration 1

      cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
      Start including
      7.63.0
      End including
      7.75.0

      Configuration 2

      cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*

      cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*

      cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

      Configuration 3

      cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*

      cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*

      cpe:2.3:h:netapp:hci_storage_node:-:*:*:*:*:*:*:*

      Configuration 4

      cpe:2.3:o:broadcom:fabric_operating_system:-:*:*:*:*:*:*:*

      Configuration 5

      cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

      Configuration 6

      cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*
      End excliding
      1.0.1.1

      Configuration 7

      cpe:2.3:a:oracle:communications_billing_and_revenue_management:12.0.0.3.0:*:*:*:*:*:*:*

      cpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:*

      Configuration 8

      cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*

      cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
      Start including
      9.0.0
      End excliding
      9.0.6

      cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*
      Start including
      8.2.0
      End excliding
      8.2.12