CWE
20
Advisory Published
Updated

CVE-2013-6422: Input Validation

First published: Mon Dec 23 2013(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Debian Linux=7.0
Ubuntu=12.04
Ubuntu=12.10
Ubuntu=13.04
Ubuntu=13.10
libcurl=7.21.4
libcurl=7.21.5
libcurl=7.21.6
libcurl=7.21.7
libcurl=7.22.0
libcurl=7.23.0
libcurl=7.23.1
libcurl=7.24.0
libcurl=7.25.0
libcurl=7.26.0
libcurl=7.27.0
libcurl=7.28.0
libcurl=7.28.1
libcurl=7.29.0
libcurl=7.30.0
libcurl=7.31.0
libcurl=7.32.0
libcurl=7.33.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2013-6422?

    CVE-2013-6422 is considered a high severity vulnerability due to the potential for man-in-the-middle attacks.

  • How do I fix CVE-2013-6422?

    To fix CVE-2013-6422, it is recommended to upgrade to a version of libcurl later than 7.33.0.

  • Which versions of libcurl are affected by CVE-2013-6422?

    CVE-2013-6422 affects libcurl versions from 7.21.4 to 7.33.0.

  • What impact does CVE-2013-6422 have on security?

    CVE-2013-6422 allows remote attackers to spoof server identities, potentially leading to unauthorized access to sensitive information.

  • Is it safe to disable CURLOPT_SSL_VERIFYPEER due to CVE-2013-6422?

    Disabling CURLOPT_SSL_VERIFYPEER is not safe with CVE-2013-6422 as it also disables critical hostname verification checks.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203