standard pip version is below 26.2.2

Aperta
#1,380 11 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@v-gowridurgad ci sta già lavorando.

Dal 29/10/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python, typescript
Ambito
ci-cd, security

Direzione di ricerca

Start by reading the setup-python v7 action code that configures Python and installs or upgrades pip, then check its related tests and the reported actions/setup-python workflow. Determine whether the action installs an outdated pip and how the certificate concern can be addressed securely; done means pip at least 26.2.2 is installed securely on self-hosted Ubuntu runners with Python 3.11 or newer.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Description:
The standard version of pip is not >= 26.2.2, which is a security breach, see certificate compromising
Upon setup

jobs:
  check:
    runs-on: [self-hosted, linux]
    steps:
      - name: Set up Python.
        uses: actions/setup-python@v7
        with:
          python-version: '3.12'

pip is < 26.2.2.

  Attempting uninstall: pip
  Found existing installation: pip 25.0.1
  Uninstalling pip-25.0.1:
  Successfully uninstalled pip-25.0.1
  Successfully installed pip-26.2.2

I am not sure, but I think that pip 26.2.2 is not installed securely by python -m pip install "pip @ https://files.pythonhosted.org/packages/3f/06/3e4420302363fbb71be3c7f35ce042f54bfca330e3e66b3a2e3c4cca579f/pip-26.2.2-py3-none-any.whl#sha256=fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70"
This can result in man-in-the-middle-attacks.
I am not sure how to deal with safe installations of older pip versions.

Action version:
v7

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Python >= 3.11

Repro steps:
See description.

Expected behavior:
Install pip >= 26.2.2 is installed securely.

Actual behavior:
See description.

Lingua principale
TypeScript
Stelle
2.3k
Fork
752
Merge medio
22g 15h
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di actions/setup-python

Tutte le issue di actions/setup-python

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.