REDHAT-BUG-2529203: Low severity curl libcurl vulnerability
When CURLOPTPINNEDPUBLICKEY is configured alongside options that disable standard peer verification (CURLOPTSSLVERIFYPEER = 0 and CURLOPTSSLVERIFYHOST = 0), libcurl fails to enforce public key pinning on connections established without a presented server certificate. Bypassing the pinning check under these disabled-verification conditions allows unauthenticated connections to succeed when they should be rejected.
Affected Software
Event History
Frequently Asked Questions
Which libcurl configurations are affected?
The issue requires CURLOPT_PINNEDPUBLICKEY to be configured while both CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST are set to 0. It affects connections where the server does not present a certificate.
What does an attacker need to exploit this behavior?
An attacker must be able to cause or control a connection that is established without a presented server certificate. The client must also be using the affected combination of disabled peer and host verification with public-key pinning configured.
What can be done if an update cannot be applied immediately?
Do not disable both standard peer verification and host verification when using CURLOPT_PINNEDPUBLICKEY. Review application libcurl settings for CURLOPT_SSL_VERIFYPEER = 0 and CURLOPT_SSL_VERIFYHOST = 0, especially where pinning is expected to authenticate the server.