{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_alt_python/ubuntu20.04/vex/2023/cve-2023-40217-els_alt_python-ubuntu20_04.json"
      }
    ],
    "title": "Security update on CVE-2023-40217",
    "tracking": {
      "current_release_date": "2025-12-24T10:16:18Z",
      "generator": {
        "date": "2025-12-24T10:16:18Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2023-40217-ELS_ALT_PYTHON-UBUNTU20.04",
      "initial_release_date": "2023-08-25T01:15:00Z",
      "revision_history": [
        {
          "date": "2023-08-25T01:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-10-13T14:52:12Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-10-17T13:28:20Z",
          "number": "3",
          "summary": "Update document"
        },
        {
          "date": "2025-11-27T18:42:34Z",
          "number": "4",
          "summary": "Update document"
        },
        {
          "date": "2025-12-24T10:16:18Z",
          "number": "5",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "5"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Ubuntu 20.04",
                "product": {
                  "name": "Ubuntu 20.04",
                  "product_id": "Ubuntu-20",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Ubuntu"
          }
        ],
        "category": "vendor",
        "name": "Canonical Ltd."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "alt-python36-debug-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-debug-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-debug-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-debug@3.6.15-17?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-tools-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-tools-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-tools-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-tools@3.6.15-17?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-test-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-test-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-test-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-test@3.6.15-17?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-tkinter-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-tkinter-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-tkinter-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-tkinter@3.6.15-17?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-devel-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-devel-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-devel-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-devel@3.6.15-17?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-libs-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-libs-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-libs-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36-libs@3.6.15-17?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python36-0:3.6.15-17.amd64",
                "product": {
                  "name": "alt-python36-0:3.6.15-17.amd64",
                  "product_id": "alt-python36-0:3.6.15-17.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python36@3.6.15-17?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "alt-python27-test-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-test-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-test-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-test@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-devel-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-devel-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-devel-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-devel@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-debug-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-debug-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-debug-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-debug@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-tkinter-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-tkinter-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-tkinter-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-tkinter@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-libs-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-libs-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-libs-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-libs@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-idle-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-idle-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-idle-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-idle@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27@2.7.18-8?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python27-tools-0:2.7.18-8.amd64",
                "product": {
                  "name": "alt-python27-tools-0:2.7.18-8.amd64",
                  "product_id": "alt-python27-tools-0:2.7.18-8.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python27-tools@2.7.18-8?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-debug-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-debug-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-debug-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-tools-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-tools-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-tools-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-test-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-test-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-test-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-tkinter-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-tkinter-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-tkinter-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-devel-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-devel-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-devel-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-libs-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-libs-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-libs-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python36-0:3.6.15-17.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python36-0:3.6.15-17.amd64"
        },
        "product_reference": "alt-python36-0:3.6.15-17.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-test-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-test-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-test-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-devel-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-devel-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-devel-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-debug-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-debug-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-debug-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-tkinter-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-tkinter-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-tkinter-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-libs-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-libs-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-libs-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-idle-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-idle-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-idle-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python27-tools-0:2.7.18-8.amd64 as a component of Ubuntu 20.04",
          "product_id": "Ubuntu-20:alt-python27-tools-0:2.7.18-8.amd64"
        },
        "product_reference": "alt-python27-tools-0:2.7.18-8.amd64",
        "relates_to_product_reference": "Ubuntu-20"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-40217",
      "notes": [
        {
          "category": "description",
          "text": "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.)",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Ubuntu-20:alt-python27-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-debug-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-devel-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-idle-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-libs-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-test-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-tkinter-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python27-tools-0:2.7.18-8.amd64",
          "Ubuntu-20:alt-python36-0:3.6.15-17.amd64",
          "Ubuntu-20:alt-python36-debug-0:3.6.15-17.amd64",
          "Ubuntu-20:alt-python36-devel-0:3.6.15-17.amd64",
          "Ubuntu-20:alt-python36-libs-0:3.6.15-17.amd64",
          "Ubuntu-20:alt-python36-test-0:3.6.15-17.amd64",
          "Ubuntu-20:alt-python36-tkinter-0:3.6.15-17.amd64",
          "Ubuntu-20:alt-python36-tools-0:3.6.15-17.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2023-40217"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html",
          "url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html",
          "url": "https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html"
        },
        {
          "category": "external",
          "summary": "https://mail.python.org/archives/list/security-announce%40python.org/thread/PEPLII27KYHLF4AK3ZQGKYNCRERG4YXY/",
          "url": "https://mail.python.org/archives/list/security-announce%40python.org/thread/PEPLII27KYHLF4AK3ZQGKYNCRERG4YXY/"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20231006-0014/",
          "url": "https://security.netapp.com/advisory/ntap-20231006-0014/"
        },
        {
          "category": "external",
          "summary": "https://www.python.org/dev/security/",
          "url": "https://www.python.org/dev/security/"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/11/msg00005.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/11/msg00005.html"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html"
        }
      ],
      "release_date": "2023-08-25T01:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2025-10-13T14:51:21.569522Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2025:1760367079",
          "product_ids": [
            "Ubuntu-20:alt-python36-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-debug-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-devel-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-libs-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-test-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-tkinter-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-tools-0:3.6.15-17.amd64"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2025:1760367079"
        },
        {
          "category": "vendor_fix",
          "date": "2025-10-17T13:07:59.808575Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2025:1760706477",
          "product_ids": [
            "Ubuntu-20:alt-python27-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-debug-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-devel-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-idle-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-libs-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-test-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-tkinter-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-tools-0:2.7.18-8.amd64"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2025:1760706477"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "Ubuntu-20:alt-python27-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-debug-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-devel-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-idle-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-libs-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-test-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-tkinter-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python27-tools-0:2.7.18-8.amd64",
            "Ubuntu-20:alt-python36-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-debug-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-devel-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-libs-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-test-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-tkinter-0:3.6.15-17.amd64",
            "Ubuntu-20:alt-python36-tools-0:3.6.15-17.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}
