CWE
20
Advisory Published
CVE Published
Updated

CVE-2013-4238: Input Validation

First published: Tue Aug 13 2013(Updated: )

A flaw was found in the way ssl.match_hostname() from the Python SSL module checked the hostname's identity when handling certificates that contain hostnames with NULL bytes. An attacker could potentially exploit this flaw to conduct man-in-the-middle attacks to spoof SSL servers. Note that to exploit this issue, an attacker would need to obtain a carefully-crafted certificate signed by an authority that the client trusts. References: <a href="http://bugs.python.org/issue18709">http://bugs.python.org/issue18709</a> <a href="http://bugs.python.org/file31241/CVE-2013-4073_py34.patch">http://bugs.python.org/file31241/CVE-2013-4073_py34.patch</a> <a href="http://bugs.python.org/file31242/CVE-2013-4073_py33.patch">http://bugs.python.org/file31242/CVE-2013-4073_py33.patch</a> <a href="http://bugs.python.org/file31243/CVE-2013-4073_py27.patch">http://bugs.python.org/file31243/CVE-2013-4073_py27.patch</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Ubuntu Linux=10.04
Python Programming Language=2.6.1
Python Programming Language=2.6.2
Python Programming Language=2.6.3
Python Programming Language=2.6.4
Python Programming Language=2.6.5
Python Programming Language=2.6.6
Python Programming Language=2.6.7
Python Programming Language=2.6.8
Python Programming Language=2.6.2150
Python Programming Language=2.6.6150
Python Programming Language=2.7.1
Python Programming Language=2.7.1-rc1
Python Programming Language=2.7.2-rc1
Python Programming Language=2.7.3
Python Programming Language=2.7.1150
Python Programming Language=2.7.1150
Python Programming Language=2.7.2150
Python Programming Language=3.0
Python Programming Language=3.0.1
Python Programming Language=3.1
Python Programming Language=3.1.1
Python Programming Language=3.1.2
Python Programming Language=3.1.3
Python Programming Language=3.1.4
Python Programming Language=3.1.5
Python Programming Language=3.1.2150
Python Programming Language=3.2
Python Programming Language=3.2-alpha
Python Programming Language=3.2.3
Python Programming Language=3.2.2150
Python Programming Language=3.3
Python Programming Language=3.3-beta2
Python Programming Language=3.4-alpha1
openSUSE=11.4
openSUSE=12.2
openSUSE=12.3

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.

Reference Links

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