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
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
curl | sisyphus | 7.76.0-alt1 | 8.7.1-alt2 | ALT-PU-2021-1581-1 | 268693 | Fixed |
curl | p10 | 7.76.0-alt1 | 8.7.1-alt1 | ALT-PU-2021-1581-1 | 268693 | Fixed |
curl | p9 | 7.76.0-alt1 | 7.79.0-alt2 | ALT-PU-2021-1601-1 | 268718 | Fixed |
curl | c10f1 | 7.76.0-alt1 | 8.6.0-alt1 | ALT-PU-2021-1581-1 | 268693 | Fixed |
curl | c9f2 | 7.77.0-alt1 | 8.6.0-alt1 | ALT-PU-2021-2146-1 | 276672 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://hackerone.com/reports/1129529 |
|
https://curl.se/docs/CVE-2021-22890.html |
|
https://security.netapp.com/advisory/ntap-20210521-0007/ |
|
GLSA-202105-36 |
|
N/A |
|
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf |
|
FEDORA-2021-cab5c9befb |
|
FEDORA-2021-065371f385 |
|
FEDORA-2021-26a293c72b |
|