cve-2016-0772
Vulnerability from cvelistv5
Published
2016-09-02 14:00
Modified
2024-08-05 22:30
Severity ?
Summary
The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."
Impacted products
n/an/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T22:30:04.119Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://hg.python.org/cpython/rev/d590114c2394"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www.splunk.com/view/SP-CAAAPUE"
          },
          {
            "name": "RHSA-2016:1630",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1630.html"
          },
          {
            "name": "RHSA-2016:1627",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1627.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://hg.python.org/cpython/rev/b3ce713fb9be"
          },
          {
            "name": "RHSA-2016:1629",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1629.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www.splunk.com/view/SP-CAAAPSV"
          },
          {
            "name": "[debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1303647"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5"
          },
          {
            "name": "[oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/06/14/9"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS"
          },
          {
            "name": "GLSA-201701-18",
            "tags": [
              "vendor-advisory",
              "x_refsource_GENTOO",
              "x_transferred"
            ],
            "url": "https://security.gentoo.org/glsa/201701-18"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2"
          },
          {
            "name": "91225",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/91225"
          },
          {
            "name": "RHSA-2016:1628",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1628.html"
          },
          {
            "name": "RHSA-2016:1626",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1626.html"
          },
          {
            "name": "openSUSE-SU-2020:0086",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2016-06-11T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a \"StartTLS stripping attack.\""
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2020-01-21T21:06:21",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://hg.python.org/cpython/rev/d590114c2394"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www.splunk.com/view/SP-CAAAPUE"
        },
        {
          "name": "RHSA-2016:1630",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-1630.html"
        },
        {
          "name": "RHSA-2016:1627",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-1627.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://hg.python.org/cpython/rev/b3ce713fb9be"
        },
        {
          "name": "RHSA-2016:1629",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-1629.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www.splunk.com/view/SP-CAAAPSV"
        },
        {
          "name": "[debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1303647"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5"
        },
        {
          "name": "[oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/06/14/9"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS"
        },
        {
          "name": "GLSA-201701-18",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO"
          ],
          "url": "https://security.gentoo.org/glsa/201701-18"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2"
        },
        {
          "name": "91225",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/91225"
        },
        {
          "name": "RHSA-2016:1628",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-1628.html"
        },
        {
          "name": "RHSA-2016:1626",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-1626.html"
        },
        {
          "name": "openSUSE-SU-2020:0086",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2016-0772",
    "datePublished": "2016-09-02T14:00:00",
    "dateReserved": "2015-12-16T00:00:00",
    "dateUpdated": "2024-08-05T22:30:04.119Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2016-0772\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2016-09-02T14:59:00.127\",\"lastModified\":\"2019-02-09T11:29:00.307\",\"vulnStatus\":\"Modified\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a \\\"StartTLS stripping attack.\\\"\"},{\"lang\":\"es\",\"value\":\"La librer\u00eda smtplib en CPython (tambi\u00e9n conocido como Python) en versiones anteriores a 2.7.12, 3.x en versiones anteriores a 3.4.5 y 3.5.x en versiones anteriores a 3.5.2 no devuelve un error cuando StartTLS falla, lo que podr\u00eda permitir a atacantes man-in-the-middle eludir las protecciones TLS mediante el aprovechamiento de una posici\u00f3n de red entre el cliente y el registro para bloquear el comando StartTLS, tambi\u00e9n conocido como un \\\"ataque de decapado StartTLS\\\".\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":2.2,\"impactScore\":4.2}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:P/I:P/A:N\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"NONE\",\"baseScore\":5.8},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":4.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-693\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.5.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AE44C8E0-6B74-46F8-A648-DEAF6576A960\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.5.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FF1E2B75-A884-4E41-92D0-371ED1B224C9\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"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.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B370D065-D08F-46B3-8B7B-8477A77F8E85\"},{\"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.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.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.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"121225D0-C5DA-4F26-93B8-3D56BC1D38B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"52DD66F7-FE7B-4C1C-B07B-F9E4CEEA7AFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6C2C18A1-F202-4E48-8E29-F250AD1A6737\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5EE1602B-6ECB-492B-BFEB-21AF40EE4A4A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"64662850-7460-46C2-852E-E047874F9660\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6D6658A8-E57E-4743-95D5-074F990D0D1B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F6C65BBA-4DC7-4F2F-90B1-75C6F3C68FBE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0D0DBAEE-599A-44EB-A1E4-94CEBB406CAE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"4CE28365-977E-47F2-8E2C-635D287149C1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:3.4.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"57429DD4-C97C-46BC-9D22-941153183DCF\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.7.11\",\"matchCriteriaId\":\"C8EE5C8A-6D3B-4CDF-99DA-A2D4FA1EA31C\"}]}]}],\"references\":[{\"url\":\"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-1626.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-1627.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-1628.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-1629.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2016-1630.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2016/06/14/9\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Mailing List\"]},{\"url\":\"http://www.securityfocus.com/bid/91225\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.splunk.com/view/SP-CAAAPSV\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.splunk.com/view/SP-CAAAPUE\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=1303647\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Issue Tracking\",\"Third Party Advisory\"]},{\"url\":\"https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://hg.python.org/cpython/rev/b3ce713fb9be\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://hg.python.org/cpython/rev/d590114c2394\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://security.gentoo.org/glsa/201701-18\",\"source\":\"secalert@redhat.com\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.