CVE-2024-56521: Php Curl Ssl Verification Disabled

cURL TLS certificate verification is disabled. Setting CURLOPT_SSL_VERIFYPEER to false/0 disables peer certificate chain validation, and setting CURLOPT_SSL_VERIFYHOST to false/0/1 disables proper hostname verification. With these disabled, libcurl accepts any TLS certificate (including self-signed, expired, or hostname-mismatched ones), enabling man-in-the-

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0PHP
greprules fetch cve-2024-56521-php-curl-ssl-verification-disabled --engine opengrep

Description

cURL TLS certificate verification is disabled. Setting CURLOPT_SSL_VERIFYPEER to false/0 disables peer certificate chain validation, and setting CURLOPT_SSL_VERIFYHOST to false/0/1 disables proper hostname verification. With these disabled, libcurl accepts any TLS certificate (including self-signed, expired, or hostname-mismatched ones), enabling man-in-the-