CVE-2013-7440 (GCVE-0-2013-7440)

Vulnerability from cvelistv5 – Published: 2016-06-07 18:00 – Updated: 2024-08-06 18:09
VLAI
Summary
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.
CWE
  • n/a
References
URL Tags
http://seclists.org/oss-sec/2015/q2/483 mailing-listx_refsource_MLIST
https://access.redhat.com/errata/RHSA-2016:1166 vendor-advisoryx_refsource_REDHAT
https://bugzilla.redhat.com/show_bug.cgi?id=1224999 x_refsource_CONFIRM
https://hg.python.org/cpython/rev/10d0edadbcdd x_refsource_CONFIRM
https://bugs.python.org/issue17997 x_refsource_CONFIRM
http://www.securityfocus.com/bid/74707 vdb-entryx_refsource_BID
http://seclists.org/oss-sec/2015/q2/523 mailing-listx_refsource_MLIST
Date Public
2013-08-12 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T18:09:16.919Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "[oss-security] 20150518 CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://seclists.org/oss-sec/2015/q2/483"
          },
          {
            "name": "RHSA-2016:1166",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "https://access.redhat.com/errata/RHSA-2016:1166"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1224999"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://hg.python.org/cpython/rev/10d0edadbcdd"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.python.org/issue17997"
          },
          {
            "name": "74707",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/74707"
          },
          {
            "name": "[oss-security] 20150521 Re: CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://seclists.org/oss-sec/2015/q2/523"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2013-08-12T00:00:00.000Z",
      "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2016-11-25T19:57:01.000Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "[oss-security] 20150518 CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://seclists.org/oss-sec/2015/q2/483"
        },
        {
          "name": "RHSA-2016:1166",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2016:1166"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1224999"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://hg.python.org/cpython/rev/10d0edadbcdd"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.python.org/issue17997"
        },
        {
          "name": "74707",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/74707"
        },
        {
          "name": "[oss-security] 20150521 Re: CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://seclists.org/oss-sec/2015/q2/523"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2013-7440",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "[oss-security] 20150518 CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix",
              "refsource": "MLIST",
              "url": "http://seclists.org/oss-sec/2015/q2/483"
            },
            {
              "name": "RHSA-2016:1166",
              "refsource": "REDHAT",
              "url": "https://access.redhat.com/errata/RHSA-2016:1166"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1224999",
              "refsource": "CONFIRM",
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1224999"
            },
            {
              "name": "https://hg.python.org/cpython/rev/10d0edadbcdd",
              "refsource": "CONFIRM",
              "url": "https://hg.python.org/cpython/rev/10d0edadbcdd"
            },
            {
              "name": "https://bugs.python.org/issue17997",
              "refsource": "CONFIRM",
              "url": "https://bugs.python.org/issue17997"
            },
            {
              "name": "74707",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/74707"
            },
            {
              "name": "[oss-security] 20150521 Re: CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix",
              "refsource": "MLIST",
              "url": "http://seclists.org/oss-sec/2015/q2/523"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2013-7440",
    "datePublished": "2016-06-07T18:00:00.000Z",
    "dateReserved": "2015-05-19T00:00:00.000Z",
    "dateUpdated": "2024-08-06T18:09:16.919Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2013-7440",
      "date": "2026-09-23",
      "epss": "0.01876",
      "percentile": "0.78508"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "D9D10FF2-EEA1-4CEF-B1C5-158E40E59463",
                  "versionEndIncluding": "2.7.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "FC0C702F-59E0-40AB-BA95-8F0803AB0550",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3190C547-7230-476C-A43F-641FE7B891EB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "74AC7EE5-F01D-4F28-80D1-4076B7B24BA6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "2B547525-E0DB-4D64-8ED1-AF3F1B6FF65F",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "19064C18-1CD7-4F10-8065-4B900BB31F83",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B1997CB6-FD72-4B13-915A-7500AA06F4B1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "06A1811C-4E97-4226-8335-ADF0827A03B3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "BF2C50D1-187B-4E98-BA02-008D0ED4C220",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*",
                  "matchCriteriaId": "9EB9683A-EE1C-4EB6-BF27-39A274B37D3F",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "87845E79-F4A3-4390-9ACF-A14E86BCDB10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*",
                  "matchCriteriaId": "E2C8F3C4-91AB-4AE3-A2FB-A093F97742FD",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B511BDFA-D1DC-4E50-9A08-66DA05947A43",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "0708E98D-5C84-47DC-89E5-8BB7CFFB12A7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6595C4F3-5683-4889-AD30-83840F6A58D1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "027FD902-9B08-4EDF-9F83-314FBF0583ED",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "89FB9D30-8559-4F57-9D20-DC603765B346",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "957FCB4A-32D0-4449-8995-80144CC713B4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C17A0E8D-7611-42F7-896E-F2B3BC25643D",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F236E583-D23D-4769-8A25-EBFC930E4798",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6DF7665B-3A10-46D1-B486-AFC9ED6C0B8A",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:*",
                  "matchCriteriaId": "0E2DAB9D-5D7D-40ED-8110-E3FDF7AE0729",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "875ABC97-2783-41DA-AB9F-9E6F0870B74C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5262D28D-204C-41E8-BC4D-27372E366295",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:*",
                  "matchCriteriaId": "0D553F40-92C2-4537-AF74-5F9307E20AE4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "121225D0-C5DA-4F26-93B8-3D56BC1D38B1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u00f3n ssl.match_hostname en CPython (tambi\u00e9n 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\u00eda permitir a atacantes man-in-the-middle suplantar servidores a trav\u00e9s de un certificado manipulado."
        }
      ],
      "id": "CVE-2013-7440",
      "lastModified": "2024-11-21T02:01:00.160",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "MEDIUM",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "NONE",
              "baseScore": 4.3,
              "confidentialityImpact": "NONE",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 8.6,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 5.9,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
              "version": "3.0"
            },
            "exploitabilityScore": 2.2,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2016-06-07T18:59:00.120",
      "references": [
        {
          "source": "secalert@redhat.com",
          "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": "af854a3a-2127-422b-91ae-364da2661108",
          "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"
        }
      ],
      "sourceIdentifier": "secalert@redhat.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-19"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D9D10FF2-EEA1-4CEF-B1C5-158E40E59463",
                    "versionEndIncluding": "2.7.8",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FC0C702F-59E0-40AB-BA95-8F0803AB0550",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3190C547-7230-476C-A43F-641FE7B891EB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "74AC7EE5-F01D-4F28-80D1-4076B7B24BA6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2B547525-E0DB-4D64-8ED1-AF3F1B6FF65F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "19064C18-1CD7-4F10-8065-4B900BB31F83",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B1997CB6-FD72-4B13-915A-7500AA06F4B1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "06A1811C-4E97-4226-8335-ADF0827A03B3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BF2C50D1-187B-4E98-BA02-008D0ED4C220",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*",
                    "matchCriteriaId": "9EB9683A-EE1C-4EB6-BF27-39A274B37D3F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "87845E79-F4A3-4390-9ACF-A14E86BCDB10",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*",
                    "matchCriteriaId": "E2C8F3C4-91AB-4AE3-A2FB-A093F97742FD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B511BDFA-D1DC-4E50-9A08-66DA05947A43",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0708E98D-5C84-47DC-89E5-8BB7CFFB12A7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6595C4F3-5683-4889-AD30-83840F6A58D1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "027FD902-9B08-4EDF-9F83-314FBF0583ED",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "89FB9D30-8559-4F57-9D20-DC603765B346",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "957FCB4A-32D0-4449-8995-80144CC713B4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C17A0E8D-7611-42F7-896E-F2B3BC25643D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F236E583-D23D-4769-8A25-EBFC930E4798",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6DF7665B-3A10-46D1-B486-AFC9ED6C0B8A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "0E2DAB9D-5D7D-40ED-8110-E3FDF7AE0729",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "875ABC97-2783-41DA-AB9F-9E6F0870B74C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5262D28D-204C-41E8-BC4D-27372E366295",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "0D553F40-92C2-4537-AF74-5F9307E20AE4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "121225D0-C5DA-4F26-93B8-3D56BC1D38B1",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "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\u00f3n ssl.match_hostname en CPython (tambi\u00e9n 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\u00eda permitir a atacantes man-in-the-middle suplantar servidores a trav\u00e9s de un certificado manipulado."
          }
        ],
        "id": "CVE-2013-7440",
        "lastModified": "2026-05-06T22:30:45.220",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "NONE",
                "baseScore": 4.3,
                "confidentialityImpact": "NONE",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 8.6,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.0"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2016-06-07T18:59:00.120",
        "references": [
          {
            "source": "secalert@redhat.com",
            "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": "af854a3a-2127-422b-91ae-364da2661108",
            "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"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-19"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-28T06:29:10+00:00",
      "cve": "CVE-2013-7440",
      "id": "CVE-2013-7440",
      "initial_release_date": "2013-08-12T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "30",
      "product_status:known_not_affected": "1872",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "python: wildcard matching rules do not follow RFC 6125",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2013/cve-2013-7440.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-05T01:28:42Z",
      "cve": "CVE-2013-7440",
      "id": "CVE-2013-7440",
      "initial_release_date": "2023-02-15T05:33:11Z",
      "product_status:recommended": "25",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2013-7440",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2013-7440.json",
      "version": "8"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…