ubuntu-cve-2023-40217
Vulnerability from osv_ubuntu
Published
2023-08-25 01:15
Modified
2026-04-22 07:45
Summary
Details

An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5. It primarily affects servers (such as HTTP servers) that use TLS client authentication. If a TLS server-side socket is created, receives data into the socket buffer, and then is closed quickly, there is a brief window where the SSLSocket instance will detect the socket as "not connected" and won't initiate a handshake, but buffered data will still be readable from the socket buffer. This data will not be authenticated if the server-side TLS peer is expecting client certificate authentication, and is indistinguishable from valid TLS stream data. Data is limited in size to the amount that will fit in the buffer. (The TLS connection cannot directly be used for data exfiltration because the vulnerable code path requires that the connection be closed on initialization of the SSLSocket.)


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python2.7",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.6-8ubuntu0.6+esm18"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.6-8ubuntu0.6+esm18?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.6-8ubuntu0.6+esm18"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.5-8ubuntu3",
        "2.7.5-8ubuntu4",
        "2.7.6-2",
        "2.7.6-2ubuntu1",
        "2.7.6-3",
        "2.7.6-3ubuntu1",
        "2.7.6-4",
        "2.7.6-4ubuntu1",
        "2.7.6-5",
        "2.7.6-7",
        "2.7.6-8",
        "2.7.6-8ubuntu0.2",
        "2.7.6-8ubuntu0.3",
        "2.7.6-8ubuntu0.4",
        "2.7.6-8ubuntu0.5",
        "2.7.6-8ubuntu0.6+esm2",
        "2.7.6-8ubuntu0.6+esm3",
        "2.7.6-8ubuntu0.6+esm5",
        "2.7.6-8ubuntu0.6+esm6",
        "2.7.6-8ubuntu0.6+esm7",
        "2.7.6-8ubuntu0.6+esm8",
        "2.7.6-8ubuntu0.6+esm9",
        "2.7.6-8ubuntu0.6+esm10",
        "2.7.6-8ubuntu0.6+esm11",
        "2.7.6-8ubuntu0.6+esm12",
        "2.7.6-8ubuntu0.6+esm13",
        "2.7.6-8ubuntu0.6+esm14",
        "2.7.6-8ubuntu0.6+esm15",
        "2.7.6-8ubuntu0.6+esm16",
        "2.7.6-8ubuntu0.6+esm17"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.5",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "libpython3.5",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "libpython3.5-minimal",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "libpython3.5-stdlib",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "libpython3.5-testsuite",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "python3.5",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "python3.5-examples",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "python3.5-minimal",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          },
          {
            "binary_name": "python3.5-venv",
            "binary_version": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "python3.5",
        "purl": "pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.4~14.04.1+esm1?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.2-2ubuntu0~16.04.4~14.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "idle-python3.4",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "libpython3.4",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "libpython3.4-minimal",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "libpython3.4-stdlib",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "libpython3.4-testsuite",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "python3.4",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "python3.4-examples",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "python3.4-minimal",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          },
          {
            "binary_name": "python3.4-venv",
            "binary_version": "3.4.3-1ubuntu1~14.04.7+esm20"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "python3.4",
        "purl": "pkg:deb/ubuntu/python3.4@3.4.3-1ubuntu1~14.04.7+esm20?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4~b1-0ubuntu3",
        "3.4~b1-4ubuntu4",
        "3.4~b1-4ubuntu6",
        "3.4~b1-5ubuntu2",
        "3.4~b2-1",
        "3.4~b3-1ubuntu1",
        "3.4~rc1-1build1",
        "3.4~rc2-1",
        "3.4~rc3-0ubuntu1",
        "3.4.0-1",
        "3.4.0-2ubuntu1",
        "3.4.0-2ubuntu1.1",
        "3.4.3-1ubuntu1~14.04.1",
        "3.4.3-1ubuntu1~14.04.3",
        "3.4.3-1ubuntu1~14.04.4",
        "3.4.3-1ubuntu1~14.04.5",
        "3.4.3-1ubuntu1~14.04.6",
        "3.4.3-1ubuntu1~14.04.7",
        "3.4.3-1ubuntu1~14.04.7+esm2",
        "3.4.3-1ubuntu1~14.04.7+esm4",
        "3.4.3-1ubuntu1~14.04.7+esm6",
        "3.4.3-1ubuntu1~14.04.7+esm7",
        "3.4.3-1ubuntu1~14.04.7+esm8",
        "3.4.3-1ubuntu1~14.04.7+esm10",
        "3.4.3-1ubuntu1~14.04.7+esm11",
        "3.4.3-1ubuntu1~14.04.7+esm12",
        "3.4.3-1ubuntu1~14.04.7+esm13",
        "3.4.3-1ubuntu1~14.04.7+esm14",
        "3.4.3-1ubuntu1~14.04.7+esm15",
        "3.4.3-1ubuntu1~14.04.7+esm16",
        "3.4.3-1ubuntu1~14.04.7+esm17",
        "3.4.3-1ubuntu1~14.04.7+esm19",
        "3.4.3-1ubuntu1~14.04.7+esm20"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python2.7",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.18+esm9?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.12-1ubuntu0~16.04.18+esm9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.10-4ubuntu1",
        "2.7.10-4ubuntu2",
        "2.7.11-2",
        "2.7.11-3",
        "2.7.11-4",
        "2.7.11-6",
        "2.7.11-7",
        "2.7.11-7ubuntu1",
        "2.7.12-1~16.04",
        "2.7.12-1ubuntu0~16.04.1",
        "2.7.12-1ubuntu0~16.04.2",
        "2.7.12-1ubuntu0~16.04.3",
        "2.7.12-1ubuntu0~16.04.4",
        "2.7.12-1ubuntu0~16.04.8",
        "2.7.12-1ubuntu0~16.04.9",
        "2.7.12-1ubuntu0~16.04.11",
        "2.7.12-1ubuntu0~16.04.12",
        "2.7.12-1ubuntu0~16.04.13",
        "2.7.12-1ubuntu0~16.04.14",
        "2.7.12-1ubuntu0~16.04.16",
        "2.7.12-1ubuntu0~16.04.18",
        "2.7.12-1ubuntu0~16.04.18+esm1",
        "2.7.12-1ubuntu0~16.04.18+esm2",
        "2.7.12-1ubuntu0~16.04.18+esm3",
        "2.7.12-1ubuntu0~16.04.18+esm4",
        "2.7.12-1ubuntu0~16.04.18+esm5",
        "2.7.12-1ubuntu0~16.04.18+esm6",
        "2.7.12-1ubuntu0~16.04.18+esm7",
        "2.7.12-1ubuntu0~16.04.18+esm8"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.5",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "libpython3.5",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "libpython3.5-minimal",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "libpython3.5-stdlib",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "libpython3.5-testsuite",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "python3.5",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "python3.5-examples",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "python3.5-minimal",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          },
          {
            "binary_name": "python3.5-venv",
            "binary_version": "3.5.2-2ubuntu0~16.04.13+esm12"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "python3.5",
        "purl": "pkg:deb/ubuntu/python3.5@3.5.2-2ubuntu0~16.04.13+esm12?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.2-2ubuntu0~16.04.13+esm12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.0-3",
        "3.5.0-3ubuntu1",
        "3.5.1~rc1-2ubuntu1",
        "3.5.1-1",
        "3.5.1-2",
        "3.5.1-3",
        "3.5.1-5",
        "3.5.1-6ubuntu1",
        "3.5.1-6ubuntu2",
        "3.5.1-9ubuntu1",
        "3.5.1-10",
        "3.5.2-2~16.01",
        "3.5.2-2~16.04",
        "3.5.2-2ubuntu0~16.04.1",
        "3.5.2-2ubuntu0~16.04.2",
        "3.5.2-2ubuntu0~16.04.3",
        "3.5.2-2ubuntu0~16.04.4",
        "3.5.2-2ubuntu0~16.04.5",
        "3.5.2-2ubuntu0~16.04.8",
        "3.5.2-2ubuntu0~16.04.9",
        "3.5.2-2ubuntu0~16.04.10",
        "3.5.2-2ubuntu0~16.04.11",
        "3.5.2-2ubuntu0~16.04.12",
        "3.5.2-2ubuntu0~16.04.13",
        "3.5.2-2ubuntu0~16.04.13+esm1",
        "3.5.2-2ubuntu0~16.04.13+esm2",
        "3.5.2-2ubuntu0~16.04.13+esm3",
        "3.5.2-2ubuntu0~16.04.13+esm5",
        "3.5.2-2ubuntu0~16.04.13+esm6",
        "3.5.2-2ubuntu0~16.04.13+esm7",
        "3.5.2-2ubuntu0~16.04.13+esm8",
        "3.5.2-2ubuntu0~16.04.13+esm9",
        "3.5.2-2ubuntu0~16.04.13+esm10",
        "3.5.2-2ubuntu0~16.04.13+esm11"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python2.7",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.17-1~18.04ubuntu1.13+esm4?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.17-1~18.04ubuntu1.13+esm4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.14-2ubuntu2",
        "2.7.14-4",
        "2.7.14-6",
        "2.7.14-7",
        "2.7.14-8",
        "2.7.15~rc1-1",
        "2.7.15~rc1-1ubuntu0.1",
        "2.7.15-4ubuntu4~18.04",
        "2.7.15-4ubuntu4~18.04.1",
        "2.7.15-4ubuntu4~18.04.2",
        "2.7.17-1~18.04",
        "2.7.17-1~18.04ubuntu1",
        "2.7.17-1~18.04ubuntu1.1",
        "2.7.17-1~18.04ubuntu1.2",
        "2.7.17-1~18.04ubuntu1.3",
        "2.7.17-1~18.04ubuntu1.5",
        "2.7.17-1~18.04ubuntu1.6",
        "2.7.17-1~18.04ubuntu1.7",
        "2.7.17-1~18.04ubuntu1.8",
        "2.7.17-1~18.04ubuntu1.10",
        "2.7.17-1~18.04ubuntu1.11",
        "2.7.17-1~18.04ubuntu1.13",
        "2.7.17-1~18.04ubuntu1.13+esm1",
        "2.7.17-1~18.04ubuntu1.13+esm2",
        "2.7.17-1~18.04ubuntu1.13+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.6",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "libpython3.6",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "libpython3.6-minimal",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "libpython3.6-stdlib",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "libpython3.6-testsuite",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "python3.6",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "python3.6-examples",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "python3.6-minimal",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          },
          {
            "binary_name": "python3.6-venv",
            "binary_version": "3.6.9-1~18.04ubuntu1.13+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "python3.6",
        "purl": "pkg:deb/ubuntu/python3.6@3.6.9-1~18.04ubuntu1.13+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.6.9-1~18.04ubuntu1.13+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6.3-1ubuntu1",
        "3.6.4~rc1-1",
        "3.6.4~rc1-2",
        "3.6.4-1",
        "3.6.4-2",
        "3.6.4-3build1",
        "3.6.4-4",
        "3.6.5~rc1-1",
        "3.6.5-3",
        "3.6.6-1~18.04",
        "3.6.7-1~18.04",
        "3.6.8-1~18.04.1",
        "3.6.8-1~18.04.2",
        "3.6.8-1~18.04.3",
        "3.6.9-1~18.04",
        "3.6.9-1~18.04ubuntu1",
        "3.6.9-1~18.04ubuntu1.1",
        "3.6.9-1~18.04ubuntu1.3",
        "3.6.9-1~18.04ubuntu1.4",
        "3.6.9-1~18.04ubuntu1.6",
        "3.6.9-1~18.04ubuntu1.7",
        "3.6.9-1~18.04ubuntu1.8",
        "3.6.9-1~18.04ubuntu1.9",
        "3.6.9-1~18.04ubuntu1.10",
        "3.6.9-1~18.04ubuntu1.12",
        "3.6.9-1~18.04ubuntu1.13"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.7",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "libpython3.7",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "libpython3.7-minimal",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "libpython3.7-stdlib",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "libpython3.7-testsuite",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "python3.7",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "python3.7-examples",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "python3.7-minimal",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          },
          {
            "binary_name": "python3.7-venv",
            "binary_version": "3.7.5-2ubuntu1~18.04.2+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "python3.7",
        "purl": "pkg:deb/ubuntu/python3.7@3.7.5-2ubuntu1~18.04.2+esm3?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.5-2ubuntu1~18.04.2+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.7.0~a2-1",
        "3.7.0~a3-1",
        "3.7.0~a3-2",
        "3.7.0~a3-3",
        "3.7.0~a4-1",
        "3.7.0~b1-1",
        "3.7.0~b1-1build1",
        "3.7.0~b2-1",
        "3.7.0~b3-1",
        "3.7.0-1~18.04",
        "3.7.1-1~18.04",
        "3.7.3-2~18.04.1",
        "3.7.5-2~18.04",
        "3.7.5-2~18.04.4",
        "3.7.5-2ubuntu1~18.04.2",
        "3.7.5-2ubuntu1~18.04.2+esm1",
        "3.7.5-2ubuntu1~18.04.2+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.8",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "libpython3.8",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "libpython3.8-minimal",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "libpython3.8-stdlib",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "libpython3.8-testsuite",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "python3.8",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "python3.8-examples",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "python3.8-minimal",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          },
          {
            "binary_name": "python3.8-venv",
            "binary_version": "3.8.0-3ubuntu1~18.04.2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "python3.8",
        "purl": "pkg:deb/ubuntu/python3.8@3.8.0-3ubuntu1~18.04.2+esm2?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.8.0-3ubuntu1~18.04.2+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.0-3~18.04",
        "3.8.0-3~18.04.1",
        "3.8.0-3ubuntu1~18.04.2",
        "3.8.0-3ubuntu1~18.04.2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python2.7",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.18-1~20.04.7"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.18-1~20.04.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.18-1~20.04.7?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.18-1~20.04.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.17~rc1-1",
        "2.7.17-1",
        "2.7.17-1ubuntu5",
        "2.7.17-1ubuntu6",
        "2.7.18~rc1-2",
        "2.7.18-1~20.04",
        "2.7.18-1~20.04.1",
        "2.7.18-1~20.04.3",
        "2.7.18-1~20.04.4",
        "2.7.18-1~20.04.5",
        "2.7.18-1~20.04.6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "libpython3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "libpython3.8-minimal",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "libpython3.8-stdlib",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "libpython3.8-testsuite",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "python3.8",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "python3.8-examples",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "python3.8-full",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "python3.8-minimal",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          },
          {
            "binary_name": "python3.8-venv",
            "binary_version": "3.8.10-0ubuntu1~20.04.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "python3.8",
        "purl": "pkg:deb/ubuntu/python3.8@3.8.10-0ubuntu1~20.04.9?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.8.10-0ubuntu1~20.04.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.0-1",
        "3.8.0-2",
        "3.8.0-3",
        "3.8.0-4",
        "3.8.0-5",
        "3.8.1-2ubuntu3",
        "3.8.2~rc1-1ubuntu1",
        "3.8.2-1",
        "3.8.2-1ubuntu1",
        "3.8.2-1ubuntu1.1",
        "3.8.2-1ubuntu1.2",
        "3.8.5-1~20.04",
        "3.8.5-1~20.04.2",
        "3.8.5-1~20.04.3",
        "3.8.10-0ubuntu1~20.04",
        "3.8.10-0ubuntu1~20.04.1",
        "3.8.10-0ubuntu1~20.04.2",
        "3.8.10-0ubuntu1~20.04.4",
        "3.8.10-0ubuntu1~20.04.5",
        "3.8.10-0ubuntu1~20.04.6",
        "3.8.10-0ubuntu1~20.04.7",
        "3.8.10-0ubuntu1~20.04.8"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.9",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "libpython3.9",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "libpython3.9-minimal",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "libpython3.9-stdlib",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "libpython3.9-testsuite",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "python3.9",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "python3.9-examples",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "python3.9-full",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "python3.9-minimal",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          },
          {
            "binary_name": "python3.9-venv",
            "binary_version": "3.9.5-3ubuntu0~20.04.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "python3.9",
        "purl": "pkg:deb/ubuntu/python3.9@3.9.5-3ubuntu0~20.04.1+esm2?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.9.5-3ubuntu0~20.04.1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.9.0~rc1-1~20.04",
        "3.9.0-5~20.04",
        "3.9.5-3~20.04.1",
        "3.9.5-3ubuntu0~20.04.1",
        "3.9.5-3ubuntu0~20.04.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python2.7",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.18-13ubuntu1.5"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.18-13ubuntu1.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.18-13ubuntu1.5?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.18-13ubuntu1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.18-8build1",
        "2.7.18-13",
        "2.7.18-13ubuntu1",
        "2.7.18-13ubuntu1.1",
        "2.7.18-13ubuntu1.2",
        "2.7.18-13ubuntu1.3",
        "2.7.18-13ubuntu1.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python3.10",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "libpython3.10",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "libpython3.10-minimal",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "libpython3.10-stdlib",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "libpython3.10-testsuite",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "python3.10",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "python3.10-examples",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "python3.10-full",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "python3.10-minimal",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "python3.10-nopie",
            "binary_version": "3.10.12-1~22.04.3"
          },
          {
            "binary_name": "python3.10-venv",
            "binary_version": "3.10.12-1~22.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "python3.10",
        "purl": "pkg:deb/ubuntu/python3.10@3.10.12-1~22.04.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.10.12-1~22.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.10.0-2",
        "3.10.0-3",
        "3.10.0-4",
        "3.10.0-5",
        "3.10.0-5build1",
        "3.10.1-1",
        "3.10.1-2",
        "3.10.2-1",
        "3.10.2-5",
        "3.10.2-7",
        "3.10.3-1",
        "3.10.4-3",
        "3.10.4-3ubuntu0.1",
        "3.10.6-1~22.04",
        "3.10.6-1~22.04.1",
        "3.10.6-1~22.04.2",
        "3.10.6-1~22.04.2ubuntu1",
        "3.10.6-1~22.04.2ubuntu1.1",
        "3.10.12-1~22.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "idle-python3.11",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "libpython3.11",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "libpython3.11-minimal",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "libpython3.11-stdlib",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "libpython3.11-testsuite",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "python3.11",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "python3.11-examples",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "python3.11-full",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "python3.11-minimal",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "python3.11-nopie",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          },
          {
            "binary_name": "python3.11-venv",
            "binary_version": "3.11.0~rc1-1~22.04.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "python3.11",
        "purl": "pkg:deb/ubuntu/python3.11@3.11.0~rc1-1~22.04.1~esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.11.0~rc1-1~22.04.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.11.0~rc1-1~22.04"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5. It primarily affects servers (such as HTTP servers) that use TLS client authentication. If a TLS server-side socket is created, receives data into the socket buffer, and then is closed quickly, there is a brief window where the SSLSocket instance will detect the socket as \"not connected\" and won\u0027t initiate a handshake, but buffered data will still be readable from the socket buffer. This data will not be authenticated if the server-side TLS peer is expecting client certificate authentication, and is indistinguishable from valid TLS stream data. Data is limited in size to the amount that will fit in the buffer. (The TLS connection cannot directly be used for data exfiltration because the vulnerable code path requires that the connection be closed on initialization of the SSLSocket.)",
  "id": "UBUNTU-CVE-2023-40217",
  "modified": "2026-04-22T07:45:26Z",
  "published": "2023-08-25T01:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-40217"
    },
    {
      "type": "REPORT",
      "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/PEPLII27KYHLF4AK3ZQGKYNCRERG4YXY/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/issues/108310"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/pull/108315"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/commit/0cb0c238d520a8718e313b52cffc356a5a7561bf"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/commit/256586ab8776e4526ca594b4866b9a3492e628f1"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/commit/75a875e0df0530b75b1470d797942f90f4a718d3"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/commit/37d7180cb647f0bed0c1caab0037f3bc82e2af96"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/commit/264b1dacc67346efa0933d1e63f622676e0ed96b"
    },
    {
      "type": "REPORT",
      "url": "https://www.python.org/dev/security/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6513-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6513-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-40217"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6891-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7180-1"
    }
  ],
  "related": [
    "USN-6513-1",
    "USN-6513-2",
    "USN-6891-1",
    "USN-7180-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-40217"
  ]
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…