USN-7015-7 (UBUNTU-CVE-2023-27043)

Vulnerability from osv_ubuntu – Published: 2025-09-29 12:07 – Updated: 2026-06-25 10:46 – Source website
VLAI
Summary
python2.7 regression
Details

USN-7015-4 fixed vulnerabilities in Python. It was discovered that the fix for CVE-2023-27043 for python2.7 was incorrectly applied on Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

It was discovered that the Python email module incorrectly parsed email addresses that contain special characters. A remote attacker could possibly use this issue to bypass certain protection mechanisms. (CVE-2023-27043)

It was discovered that Python allowed excessive backtracking while parsing certain tarfile headers. A remote attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. (CVE-2024-6232)

It was discovered that the Python email module incorrectly quoted newlines for email headers. A remote attacker could possibly use this issue to perform header injection. (CVE-2024-6923)

It was discovered that the Python http.cookies module incorrectly handled parsing cookies that contained backslashes for quoted characters. A remote attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. (CVE-2024-7592)

It was discovered that the Python zipfile module incorrectly handled certain malformed zip files. A remote attacker could possibly use this issue to cause Python to stop responding, resulting in a denial of service. (CVE-2024-8088)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2023-27043",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "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+esm18"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.12-1ubuntu0~16.04.18+esm18"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.12-1ubuntu0~16.04.18+esm18?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.12-1ubuntu0~16.04.18+esm18"
            }
          ],
          "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",
        "2.7.12-1ubuntu0~16.04.18+esm9",
        "2.7.12-1ubuntu0~16.04.18+esm10",
        "2.7.12-1ubuntu0~16.04.18+esm11",
        "2.7.12-1ubuntu0~16.04.18+esm12",
        "2.7.12-1ubuntu0~16.04.18+esm13",
        "2.7.12-1ubuntu0~16.04.18+esm15",
        "2.7.12-1ubuntu0~16.04.18+esm16",
        "2.7.12-1ubuntu0~16.04.18+esm17"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2023-27043",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:18.04:LTS"
        }
      },
      "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+esm13"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.17-1~18.04ubuntu1.13+esm13"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.17-1~18.04ubuntu1.13+esm13?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.17-1~18.04ubuntu1.13+esm13"
            }
          ],
          "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",
        "2.7.17-1~18.04ubuntu1.13+esm4",
        "2.7.17-1~18.04ubuntu1.13+esm5",
        "2.7.17-1~18.04ubuntu1.13+esm6",
        "2.7.17-1~18.04ubuntu1.13+esm7",
        "2.7.17-1~18.04ubuntu1.13+esm8",
        "2.7.17-1~18.04ubuntu1.13+esm10",
        "2.7.17-1~18.04ubuntu1.13+esm11",
        "2.7.17-1~18.04ubuntu1.13+esm12"
      ]
    }
  ],
  "aliases": [],
  "details": "USN-7015-4 fixed vulnerabilities in Python. It was discovered that the fix\nfor CVE-2023-27043 for python2.7 was incorrectly applied on Ubuntu 16.04\nLTS and Ubuntu 18.04 LTS. This update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that the Python email module incorrectly parsed email\n addresses that contain special characters. A remote attacker could\n possibly use this issue to bypass certain protection mechanisms.\n (CVE-2023-27043)\n\n It was discovered that Python allowed excessive backtracking while parsing\n certain tarfile headers. A remote attacker could possibly use this issue\n to cause Python to consume resources, leading to a denial of service.\n (CVE-2024-6232)\n\n It was discovered that the Python email module incorrectly quoted newlines\n for email headers. A remote attacker could possibly use this issue to\n perform header injection. (CVE-2024-6923)\n\n It was discovered that the Python http.cookies module incorrectly handled\n parsing cookies that contained backslashes for quoted characters. A remote\n attacker could possibly use this issue to cause Python to consume\n resources, leading to a denial of service. (CVE-2024-7592)\n\n It was discovered that the Python zipfile module incorrectly handled\n certain malformed zip files. A remote attacker could possibly use this\n issue to cause Python to stop responding, resulting in a denial of\n service. (CVE-2024-8088)\n",
  "id": "USN-7015-7",
  "modified": "2026-06-25T10:46:30Z",
  "published": "2025-09-29T12:07:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7015-7"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-27043"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/2125702"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "python2.7 regression",
  "upstream": [
    "UBUNTU-CVE-2023-27043"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

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