libcurl would reuse a previously created connection even when a TLS or SSH related option had been changed that should have prohibited reuse. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, several TLS and SSH settings were left out from the configuration match checks, making them match too easily.
Created curl tracking bugs for this issue: Affects: fedora-all [bug 2083980] Created mingw-curl tracking bugs for this issue: Affects: fedora-all [bug 2083981]
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:5245 https://access.redhat.com/errata/RHSA-2022:5245
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2022:5313 https://access.redhat.com/errata/RHSA-2022:5313
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2022-27782