CVE-2013-6422
mediumpriority · track · 17EPSS 0.028 · 86 %ileDEEUUSEPSS · scored 2026-10-28
The GnuTLS backend in libcurl 7.21.4 through 7.33.0, when disabling digital signature verification (CURLOPT_SSL_VERIFYPEER), also disables the CURLOPT_SSL_VERIFYHOST check for CN or SAN host name fields, which makes it easier for remote attackers to spoof servers and conduct man-in-the-middle (MITM) attacks.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.4–4
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (26)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1655cURL: Schwachstelle ermöglicht Umgehen von SicherheitsvorkehrungenDeutsch2013-12-18csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in cURL ausnutzen, um Sicherheitsvorkehrungen zu umgehen.
- CURL-CVE-2013-6422cert name check ignore with GnuTLS2013-12-17vendor · osvUS
(This issue is almost identical to the one named [CVE-2013-4545](CVE-2013-4545.html), but this problem affects a different SSL backend.) libcurl is vulnerable to a case of missing out the checking of the certificate `CN` or `SAN` name field when the digital signature verification is turned off. libcurl offers two separate and independent options for verifying a server's TLS certificate. `CURLOPT_SSL_VERIFYPEER` and `CURLOPT_SSL_VERIFYHOST`. The first one tells libcurl to verify the trust chain using a CA cert bundle, while the second tells libcurl to make sure that the name fields in the server certificate meets the criteria. Both options are enabled by default. This flaw had the effect that when an application disabled `CURLOPT_SSL_VERIFYPEER`, libcurl mistakenly also skipped the `CURLOPT_SSL_VERIFYHOST` check. Applications can disable `CURLOPT_SSL_VERIFYPEER` and still achieve security by doing the check on its own using other means. The curl command line tool is not affected by this problem as it either enables both options or disables both at the same time.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- http://curl.haxx.se/docs/adv_20131217.htmlcnnvd
- http://www.debian.org/security/2013/dsa-2824cnnvd
- http://www.ubuntu.com/usn/USN-2058-1cnnvd
- http://curl.haxx.se/docs/adv_20131217.htmlenisa_euvd
- http://www.debian.org/security/2013/dsa-2824enisa_euvd
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.htmlenisa_euvd
- http://www.ubuntu.com/usn/USN-2058-1enisa_euvd
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan