CVEvulnerability

CVE-2014-2522

4.0 MEDIUM Published 2014-04-18 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2014-04-18
Last modified
2026-06-17
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.0 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:N
Weaknesses
CWE-20

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.

Affected configurations

• 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

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References