CVE-2014-2522: Input Validation

Published Apr 18, 2014
·
Updated

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.

Affected Software

44 affected components
haxx curl=7.27.0
haxx curl=7.28.0
haxx curl=7.28.1
haxx curl=7.29.0
haxx curl=7.30.0
haxx curl=7.31.0
haxx curl=7.32.0
haxx curl=7.33.0
haxx curl=7.34.0
haxx curl=7.35.0
haxx libcurl=7.27.0
haxx libcurl=7.28.0
haxx libcurl=7.28.1
haxx libcurl=7.29.0
haxx libcurl=7.30.0
haxx libcurl=7.31.0
haxx libcurl=7.32.0
haxx libcurl=7.33.0
haxx libcurl=7.34.0
haxx libcurl=7.35.0
haxx libcurl=7.36.0
Microsoft Windows
All of the following
Any of the following
haxx curl=7.27.0
haxx curl=7.28.0
haxx curl=7.28.1
haxx curl=7.29.0
haxx curl=7.30.0
haxx curl=7.31.0
haxx curl=7.32.0
haxx curl=7.33.0
haxx curl=7.34.0
haxx curl=7.35.0
haxx libcurl=7.27.0
haxx libcurl=7.28.0
haxx libcurl=7.28.1
haxx libcurl=7.29.0
haxx libcurl=7.30.0
haxx libcurl=7.31.0
haxx libcurl=7.32.0
haxx libcurl=7.33.0
haxx libcurl=7.34.0
haxx libcurl=7.35.0
haxx libcurl=7.36.0
Microsoft Windows

Event History

Apr 18, 2014
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·10:14 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2014-2522?

CVE-2014-2522 has a medium severity rating as it affects the verification of server certificates which could allow man-in-the-middle attacks.

2

How do I fix CVE-2014-2522?

To fix CVE-2014-2522, update curl or libcurl to versions 7.36.0 or later where the hostname verification issue is resolved.

3

Which versions are affected by CVE-2014-2522?

CVE-2014-2522 affects curl and libcurl versions 7.27.0 through 7.35.0 that use the SChannel/Winssl TLS backend on Windows.

4

What types of attacks can CVE-2014-2522 allow?

CVE-2014-2522 can allow attackers to perform man-in-the-middle attacks by exploiting the lack of hostname verification.

5

Is CVE-2014-2522 present on all operating systems?

CVE-2014-2522 specifically affects curl or libcurl when running on Windows with the SChannel/Winssl TLS backend.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203