{
  "document": {
    "aggregate_severity": {
      "text": "Low"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      },
      {
        "category": "details",
        "text": "* SECURITY UPDATE: Mercurial option injection via crafted VCS revision\n     - debian/patches/CVE-2023-5752.patch: pass the revision to hg as --rev=<rev>\n     - CVE-2023-5752\n   * SECURITY UPDATE: arbitrary file overwrite via symlinks in sdist tarballs\n     - debian/patches/CVE-2025-8869.patch: check symlink targets stay inside the\n       extraction directory in untar_file\n     - CVE-2025-8869\n   * SECURITY UPDATE: archive confusion via tar/ZIP polyglot files\n     - debian/patches/CVE-2026-3219.patch: order unpack_file checks by confidence\n       and reject ambiguous archive signatures\n     - CVE-2026-3219\n   * SECURITY UPDATE: path traversal via string-prefix sibling directories\n     - debian/patches/CVE-2026-1703.patch: use os.path.commonpath instead of\n       commonprefix in is_within_directory\n     - CVE-2026-1703\n   * SECURITY UPDATE: code execution via post-install pip self-version check\n     - debian/patches/CVE-2026-6357.patch: fetch version info before command\n       execution, only emit the upgrade warning afterwards\n     - CVE-2026-6357",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802",
        "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_alt_python/debian12/advisories/2026/clsa-2026_1785172802.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-07-27T17:21:07Z",
      "generator": {
        "date": "2026-07-27T17:21:07Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1785172802",
      "initial_release_date": "2026-07-27T17:21:07Z",
      "revision_history": [
        {
          "date": "2026-07-27T17:21:07Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "Fix of 5 CVEs"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 12",
                "product": {
                  "name": "Debian 12",
                  "product_id": "Debian-12",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "alt-python311-pip-wheel-0:21.3.1-4.all",
                "product": {
                  "name": "alt-python311-pip-wheel-0:21.3.1-4.all",
                  "product_id": "alt-python311-pip-wheel-0:21.3.1-4.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python311-pip-wheel@21.3.1-4?arch=all&os_name=debian&os_version=12"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "alt-python311-pip-0:21.3.1-4.all",
                "product": {
                  "name": "alt-python311-pip-0:21.3.1-4.all",
                  "product_id": "alt-python311-pip-0:21.3.1-4.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/alt-python311-pip@21.3.1-4?arch=all&os_name=debian&os_version=12"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python311-pip-wheel-0:21.3.1-4.all as a component of Debian 12",
          "product_id": "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
        },
        "product_reference": "alt-python311-pip-wheel-0:21.3.1-4.all",
        "relates_to_product_reference": "Debian-12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "alt-python311-pip-0:21.3.1-4.all as a component of Debian 12",
          "product_id": "Debian-12:alt-python311-pip-0:21.3.1-4.all"
        },
        "product_reference": "alt-python311-pip-0:21.3.1-4.all",
        "relates_to_product_reference": "Debian-12"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-1703",
      "cwe": {
        "id": "CWE-22",
        "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
      },
      "notes": [
        {
          "category": "description",
          "text": "When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. The path traversal is limited to prefixes of the installation directory, thus isn't able to inject or overwrite executable files in typical situations.",
          "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": [
          "Debian-12:alt-python311-pip-0:21.3.1-4.all",
          "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2026-1703"
        }
      ],
      "release_date": "2026-02-02T14:43:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-27T17:20:03.895717Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802",
          "product_ids": [
            "Debian-12:alt-python311-pip-0:21.3.1-4.all",
            "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.9,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "Debian-12:alt-python311-pip-0:21.3.1-4.all",
            "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    },
    {
      "cve": "CVE-2025-8869",
      "notes": [
        {
          "category": "description",
          "text": "When extracting a tar archive pip may not check symbolic links point into the extraction directory if the tarfile module doesn't implement PEP 706. Note that upgrading pip to a \"fixed\" version for this vulnerability doesn't fix all known vulnerabilities that are remediated by using a Python version that implements PEP 706. Note that this is a vulnerability in pip's fallback implementation of tar extraction for Python versions that don't implement PEP 706 and therefore are not secure to all vulnerabilities in the Python 'tarfile' module. If you're using a Python version that implements PEP 706 then pip doesn't use the \"vulnerable\" fallback code. Mitigations include upgrading to a version of pip that includes the fix, upgrading to a Python version that implements PEP 706 (Python >=3.9.17, >=3.10.12, >=3.11.4, or >=3.12), applying the linked patch, or inspecting source distributions (sdists) before installation as is already a best-practice.\n",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-12:alt-python311-pip-0:21.3.1-4.all",
          "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2025-8869"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-27T17:20:03.895717Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802",
          "product_ids": [
            "Debian-12:alt-python311-pip-0:21.3.1-4.all",
            "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    },
    {
      "cve": "CVE-2023-5752",
      "cwe": {
        "id": "CWE-77",
        "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')"
      },
      "notes": [
        {
          "category": "description",
          "text": "When installing a package from a Mercurial VCS URL  (ie \"pip install \nhg+...\") with pip prior to v23.3, the specified Mercurial revision could\n be used to inject arbitrary configuration options to the \"hg clone\" \ncall (ie \"--config\"). Controlling the Mercurial configuration can modify\n how and which repository is installed. This vulnerability does not \naffect users who aren't installing from Mercurial.",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-12:alt-python311-pip-0:21.3.1-4.all",
          "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2023-5752"
        },
        {
          "category": "external",
          "summary": "https://github.com/pypa/pip/pull/12306",
          "url": "https://github.com/pypa/pip/pull/12306"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/622OZXWG72ISQPLM5Y57YCVIMWHD4C3U/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/65UKKF5LBHEFDCUSPBHUN4IHYX7SRMHH/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FXUVMJM25PUAZRQZBF54OFVKTY3MINPW/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFC2SPFG5FLCZBYY2K3T5MFW2D22NG6E/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YBSB3SUPQ3VIFYUMHPO3MEQI4BJAXKCZ/"
        },
        {
          "category": "external",
          "summary": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL/",
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/F4PL35U6X4VVHZ5ILJU3PWUWN7H7LZXL/"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html",
          "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00028.html"
        }
      ],
      "release_date": "2023-10-25T18:17:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-27T17:20:03.895717Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802",
          "product_ids": [
            "Debian-12:alt-python311-pip-0:21.3.1-4.all",
            "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    },
    {
      "cve": "CVE-2026-3219",
      "notes": [
        {
          "category": "description",
          "text": "pip handles concatenated tar and ZIP files as ZIP files regardless of filename or whether a file is both a tar and ZIP file. This behavior could result in confusing installation behavior, such as installing \"incorrect\" files according to the filename of the archive. New behavior only proceeds with installation if the file identifies uniquely as a ZIP or tar archive, not as both.\n",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-12:alt-python311-pip-0:21.3.1-4.all",
          "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2026-3219"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-27T17:20:03.895717Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802",
          "product_ids": [
            "Debian-12:alt-python311-pip-0:21.3.1-4.all",
            "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    },
    {
      "cve": "CVE-2026-6357",
      "notes": [
        {
          "category": "description",
          "text": "pip prior to version 26.1 would run self-update check functionality after installing wheel files which required importing well-known Python modules names. These module imports were intentionally deferred to increase startup time of the pip CLI. The patch changes self-update functionality to run before wheels are installed to prevent newly-installed modules from being imported shortly after the installation of a wheel package. Users should still review package contents prior to installation.\n",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-12:alt-python311-pip-0:21.3.1-4.all",
          "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-alt-python/cve/CVE-2026-6357"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-27T17:20:03.895717Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802",
          "product_ids": [
            "Debian-12:alt-python311-pip-0:21.3.1-4.all",
            "Debian-12:alt-python311-pip-wheel-0:21.3.1-4.all"
          ],
          "url": "https://cve.tuxcare.com/els-alt-python/releases/CLSA-2026:1785172802"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low"
        }
      ]
    }
  ]
}