Input validation error in Python



| Updated: 2025-06-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2013-4238
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Python
Universal components / Libraries / Scripting languages

Vendor Python.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU110148

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2013-4238

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to corrupt data.

The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Python: 3.4

CPE2.3 External links

https://bugs.python.org/issue18709
https://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
https://lists.opensuse.org/opensuse-updates/2013-09/msg00026.html
https://lists.opensuse.org/opensuse-updates/2013-09/msg00027.html
https://lists.opensuse.org/opensuse-updates/2013-09/msg00028.html
https://lists.opensuse.org/opensuse-updates/2013-09/msg00029.html
https://lists.opensuse.org/opensuse-updates/2013-09/msg00042.html
https://lists.opensuse.org/opensuse-updates/2013-09/msg00043.html
https://rhn.redhat.com/errata/RHSA-2013-1582.html
https://seclists.org/fulldisclosure/2014/Dec/23
https://www.debian.org/security/2014/dsa-2880
https://www.securityfocus.com/archive/1/534161/100/0/threaded
https://www.ubuntu.com/usn/USN-1982-1
https://www.vmware.com/security/advisories/VMSA-2014-0012.html
https://bugzilla.redhat.com/show_bug.cgi?id=996381


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###