CVE-2024-2466

Summary

libcurl did not check the server certificate of TLS connections done to a host specified as an IP address, when built to use mbedTLS. libcurl would wrongly avoid using the set hostname function when the specified hostname was given as an IP address, therefore completely skipping the certificate check. This affects all uses of TLS protocols (HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc).

Affected Software

VendorProductVersion RangeStatus
curlcurl8.6.0 <= 8.6.0affected
curlcurl8.5.0 <= 8.5.0affected

Weaknesses

  • CWE-297 Improper Validation of Certificate with Host Mismatch

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References