[Feature Request] Raise the minimum supported PyJWT version to a patched release

未關閉
#984 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
55/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
python
領域
security

研究方向

The issue identifies the PyJWT dependency range in MSAL 1.39.0 but does not name the manifest or tests. Locate the dependency declaration and review how the project handles supported version bounds and compatibility. Done means maintainers decide whether to raise the minimum to a patched release or document a consumer workaround.

由索引模型根據 Issue 內容生成。

描述

MSAL client type: Confidential

Problem statement

MSAL 1.39.0 declares PyJWT[crypto]>=1.0.0,<3, which permits versions affected by several published PyJWT advisories. This also affects applications that depend on MSAL indirectly, for example through Azure Identity. Dependency scanners can flag an existing lockfile even though MSAL permits a patched PyJWT version.

Examples fixed in PyJWT 2.14.0:

Proposed solution

Would the maintainers consider raising MSAL's minimum PyJWT version to a currently patched release, such as 2.14.0 or later, or documenting the preferred approach for consumers to keep this transitive dependency patched? A newer minimum would prevent resolvers from selecting older affected versions when no downstream constraint is present.

I recognize that the maintainers previously explained in https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/473 that MSAL's usage was not susceptible to an older PyJWT decoding vulnerability. This request is about the dependency range and scanner findings; it does not assert that MSAL itself is exploitable. Consumers can already update or constrain PyJWT directly.

主要語言
Python
星號
971
分支
223
平均合併
3 天 2 小時
30 天內合併 PR
4

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

AzureAD/microsoft-authentication-library-for-python 的其他 Issue

查看 AzureAD/microsoft-authentication-library-for-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。