CVE-2014-2522 Security feature bypass in n/a

Medium 4.0 Published Updated

Man-in-the-middle attackers can spoof servers when curl on Windows uses SChannel with IP addresses, bypassing hostname verification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-2522?

CVE-2014-2522 is a medium-severity vulnerability in Haxx Curl, published on 18 Apr 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

curl and libcurl 7.27.0 through 7.35.0, when running on Windows and using the SChannel/Winssl TLS backend, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate when accessing a URL that uses a numerical IP address, which allows man-in-the-middle attackers to spoof servers via an arbitrary valid certificate.

Weakness: CWE-20

Which versions are affected by CVE-2014-2522?

It affects 2 products.

Products include Haxx Curl, Haxx Libcurl.

How do I fix CVE-2014-2522?

Upgrade to a fixed version.

Is CVE-2014-2522 being exploited?

There is no known exploitation of CVE-2014-2522 in the wild and no public exploit code.

All Haxx Curl vulnerabilities

Sources

Also known as CURL-CVE-2014-2522, GHSA-wrgp-wm42-6wqv.

Is CVE-2014-2522 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free