standard pip version is below 26.2.2

オープン
#1,380 コメント 11 件 リアクション 0 件 担当者 1 名 GitHub で見る

@v-gowridurgad がすでに取り組んでいます。

2026年10月29日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python, typescript
領域
ci-cd, security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
2.3k
フォーク
752
平均マージ
22日 15時間
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

actions/setup-python のほかの issue

actions/setup-python の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。