Skip to content

pip-audit 偵測到 17 個已知安全漏洞(5 個套件) #48

@dofliu

Description

@dofliu

問題描述

執行 pip-audit 掃描發現 17 個已知安全漏洞,分布在 5 個套件中。

漏洞摘要

套件 目前版本 漏洞數 建議升級至
cryptography 41.0.7 7 ≥ 46.0.6
pip 24.0 4 ≥ 26.0
pyjwt 2.7.0 1 ≥ 2.12.0
setuptools 68.1.2 3 ≥ 78.1.1
wheel 0.42.0 2 ≥ 0.46.2

重要 CVE

偵測方式

pip-audit

建議修復步驟

  1. 更新 requirements.txt 中的版本約束
  2. 執行 pip install --upgrade cryptography pyjwt setuptools wheel
  3. 重新執行 pip-audit 確認修復
  4. 注意 cryptography 大版本升級可能有 breaking changes,需測試兼容性

影響範圍

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions