gsd-2016-0772
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
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."
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2016-0772",
    "description": "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.\"",
    "id": "GSD-2016-0772",
    "references": [
      "https://www.suse.com/security/cve/CVE-2016-0772.html",
      "https://access.redhat.com/errata/RHSA-2016:1630",
      "https://access.redhat.com/errata/RHSA-2016:1629",
      "https://access.redhat.com/errata/RHSA-2016:1628",
      "https://access.redhat.com/errata/RHSA-2016:1627",
      "https://access.redhat.com/errata/RHSA-2016:1626",
      "https://ubuntu.com/security/CVE-2016-0772",
      "https://advisories.mageia.org/CVE-2016-0772.html",
      "https://alas.aws.amazon.com/cve/html/CVE-2016-0772.html",
      "https://linux.oracle.com/cve/CVE-2016-0772.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2016-0772"
      ],
      "details": "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.\"",
      "id": "GSD-2016-0772",
      "modified": "2023-12-13T01:21:17.659307Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2016-0772",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "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 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.\""
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html",
            "refsource": "MISC",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
          },
          {
            "name": "http://rhn.redhat.com/errata/RHSA-2016-1626.html",
            "refsource": "MISC",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1626.html"
          },
          {
            "name": "http://rhn.redhat.com/errata/RHSA-2016-1627.html",
            "refsource": "MISC",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1627.html"
          },
          {
            "name": "http://rhn.redhat.com/errata/RHSA-2016-1628.html",
            "refsource": "MISC",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1628.html"
          },
          {
            "name": "http://rhn.redhat.com/errata/RHSA-2016-1629.html",
            "refsource": "MISC",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1629.html"
          },
          {
            "name": "http://rhn.redhat.com/errata/RHSA-2016-1630.html",
            "refsource": "MISC",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-1630.html"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2016/06/14/9",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2016/06/14/9"
          },
          {
            "name": "http://www.securityfocus.com/bid/91225",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/91225"
          },
          {
            "name": "http://www.splunk.com/view/SP-CAAAPSV",
            "refsource": "MISC",
            "url": "http://www.splunk.com/view/SP-CAAAPSV"
          },
          {
            "name": "http://www.splunk.com/view/SP-CAAAPUE",
            "refsource": "MISC",
            "url": "http://www.splunk.com/view/SP-CAAAPUE"
          },
          {
            "name": "https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5",
            "refsource": "MISC",
            "url": "https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5"
          },
          {
            "name": "https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2",
            "refsource": "MISC",
            "url": "https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2"
          },
          {
            "name": "https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS",
            "refsource": "MISC",
            "url": "https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS"
          },
          {
            "name": "https://hg.python.org/cpython/rev/b3ce713fb9be",
            "refsource": "MISC",
            "url": "https://hg.python.org/cpython/rev/b3ce713fb9be"
          },
          {
            "name": "https://hg.python.org/cpython/rev/d590114c2394",
            "refsource": "MISC",
            "url": "https://hg.python.org/cpython/rev/d590114c2394"
          },
          {
            "name": "https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html",
            "refsource": "MISC",
            "url": "https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html"
          },
          {
            "name": "https://security.gentoo.org/glsa/201701-18",
            "refsource": "MISC",
            "url": "https://security.gentoo.org/glsa/201701-18"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1303647",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1303647"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.5.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.5.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.4.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.4.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "2.7.11",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2016-0772"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "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.\""
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-693"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "[oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack",
              "refsource": "MLIST",
              "tags": [
                "Mailing List"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2016/06/14/9"
            },
            {
              "name": "https://hg.python.org/cpython/rev/b3ce713fb9be",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "https://hg.python.org/cpython/rev/b3ce713fb9be"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1303647",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1303647"
            },
            {
              "name": "https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5",
              "refsource": "CONFIRM",
              "tags": [
                "Release Notes"
              ],
              "url": "https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5"
            },
            {
              "name": "https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2",
              "refsource": "CONFIRM",
              "tags": [
                "Release Notes"
              ],
              "url": "https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2"
            },
            {
              "name": "https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS",
              "refsource": "CONFIRM",
              "tags": [
                "Release Notes"
              ],
              "url": "https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS"
            },
            {
              "name": "https://hg.python.org/cpython/rev/d590114c2394",
              "refsource": "CONFIRM",
              "tags": [
                "Patch"
              ],
              "url": "https://hg.python.org/cpython/rev/d590114c2394"
            },
            {
              "name": "91225",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/91225"
            },
            {
              "name": "http://www.splunk.com/view/SP-CAAAPUE",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://www.splunk.com/view/SP-CAAAPUE"
            },
            {
              "name": "http://www.splunk.com/view/SP-CAAAPSV",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://www.splunk.com/view/SP-CAAAPSV"
            },
            {
              "name": "GLSA-201701-18",
              "refsource": "GENTOO",
              "tags": [],
              "url": "https://security.gentoo.org/glsa/201701-18"
            },
            {
              "name": "RHSA-2016:1630",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-1630.html"
            },
            {
              "name": "RHSA-2016:1629",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-1629.html"
            },
            {
              "name": "RHSA-2016:1628",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-1628.html"
            },
            {
              "name": "RHSA-2016:1627",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-1627.html"
            },
            {
              "name": "RHSA-2016:1626",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2016-1626.html"
            },
            {
              "name": "[debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html"
            },
            {
              "name": "openSUSE-SU-2020:0086",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 4.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 2.2,
          "impactScore": 4.2
        }
      },
      "lastModifiedDate": "2019-02-09T11:29Z",
      "publishedDate": "2016-09-02T14:59Z"
    }
  }
}


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.