CVE-2013-7440
Estado: ModificadaMedia (5.9)—
The ssl.match_hostname function in CPython (aka Python) before 2.7.9 and 3.x before 3.3.3 does not properly handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers via a crafted certificate.
CVSS
- Versión: 3.0
- Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Puntuación base: 5.9
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 1.88%
- Percentil entre todas las CVEs puntuadas: 79
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- CWE-19
Referencias
- http://seclists.org/oss-sec/2015/q2/483
- http://seclists.org/oss-sec/2015/q2/523
- http://www.securityfocus.com/bid/74707
- https://access.redhat.com/errata/RHSA-2016:1166
- https://bugs.python.org/issue17997
- https://bugzilla.redhat.com/show_bug.cgi?id=1224999
- https://hg.python.org/cpython/rev/10d0edadbcdd
- http://seclists.org/oss-sec/2015/q2/483
- http://seclists.org/oss-sec/2015/q2/523
- http://www.securityfocus.com/bid/74707
- https://access.redhat.com/errata/RHSA-2016:1166
- https://bugs.python.org/issue17997
- https://bugzilla.redhat.com/show_bug.cgi?id=1224999
- https://hg.python.org/cpython/rev/10d0edadbcdd
JSON original (NVD)
Mostrar
{
"id": "CVE-2013-7440",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4.3,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "NONE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV30": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.0",
"baseScore": 5.9,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2016-06-07T18:59:00.120",
"references": [
{
"url": "http://seclists.org/oss-sec/2015/q2/483",
"source": "secalert@redhat.com"
},
{
"url": "http://seclists.org/oss-sec/2015/q2/523",
"source": "secalert@redhat.com"
},
{
"url": "http://www.securityfocus.com/bid/74707",
"source": "secalert@redhat.com"
},
{
"url": "https://access.redhat.com/errata/RHSA-2016:1166",
"source": "secalert@redhat.com"
},
{
"url": "https://bugs.python.org/issue17997",
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1224999",
"source": "secalert@redhat.com"
},
{
"url": "https://hg.python.org/cpython/rev/10d0edadbcdd",
"source": "secalert@redhat.com"
},
{
"url": "http://seclists.org/oss-sec/2015/q2/483",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://seclists.org/oss-sec/2015/q2/523",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/74707",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://access.redhat.com/errata/RHSA-2016:1166",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugs.python.org/issue17997",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1224999",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://hg.python.org/cpython/rev/10d0edadbcdd",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-19"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The ssl.match_hostname function in CPython (aka Python) before 2.7.9 and 3.x before 3.3.3 does not properly handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers via a crafted certificate."
},
{
"lang": "es",
"value": "La función ssl.match_hostname en CPython (también concida como Python) en versiones anteriores a 2.7.9 y 3.x en versiones anteriores a 3.3.3 no maneja correctamente comodines en los nombres de host, lo que podría permitir a atacantes man-in-the-middle suplantar servidores a través de un certificado manipulado."
}
],
"lastModified": "2026-06-17T00:01:57.590",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D9D10FF2-EEA1-4CEF-B1C5-158E40E59463",
"versionEndIncluding": "2.7.8"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FC0C702F-59E0-40AB-BA95-8F0803AB0550"
},
{
"criteria": "cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3190C547-7230-476C-A43F-641FE7B891EB"
},
{
"criteria": "cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "74AC7EE5-F01D-4F28-80D1-4076B7B24BA6"
},
{
"criteria": "cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2B547525-E0DB-4D64-8ED1-AF3F1B6FF65F"
},
{
"criteria": "cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "19064C18-1CD7-4F10-8065-4B900BB31F83"
},
{
"criteria": "cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B1997CB6-FD72-4B13-915A-7500AA06F4B1"
},
{
"criteria": "cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "06A1811C-4E97-4226-8335-ADF0827A03B3"
},
{
"criteria": "cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BF2C50D1-187B-4E98-BA02-008D0ED4C220"
},
{
"criteria": "cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*",
"vulnerable": true,
"matchCriteriaId": "9EB9683A-EE1C-4EB6-BF27-39A274B37D3F"
},
{
"criteria": "cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "87845E79-F4A3-4390-9ACF-A14E86BCDB10"
},
{
"criteria": "cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E2C8F3C4-91AB-4AE3-A2FB-A093F97742FD"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B511BDFA-D1DC-4E50-9A08-66DA05947A43"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0708E98D-5C84-47DC-89E5-8BB7CFFB12A7"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6595C4F3-5683-4889-AD30-83840F6A58D1"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "027FD902-9B08-4EDF-9F83-314FBF0583ED"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "89FB9D30-8559-4F57-9D20-DC603765B346"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "957FCB4A-32D0-4449-8995-80144CC713B4"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C17A0E8D-7611-42F7-896E-F2B3BC25643D"
},
{
"criteria": "cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F236E583-D23D-4769-8A25-EBFC930E4798"
},
{
"criteria": "cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6DF7665B-3A10-46D1-B486-AFC9ED6C0B8A"
},
{
"criteria": "cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0E2DAB9D-5D7D-40ED-8110-E3FDF7AE0729"
},
{
"criteria": "cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "875ABC97-2783-41DA-AB9F-9E6F0870B74C"
},
{
"criteria": "cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5262D28D-204C-41E8-BC4D-27372E366295"
},
{
"criteria": "cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0D553F40-92C2-4537-AF74-5F9307E20AE4"
},
{
"criteria": "cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "121225D0-C5DA-4F26-93B8-3D56BC1D38B1"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}