[Feature Request] Raise the minimum supported PyJWT version to a patched release
Maintainers usually reply within 7 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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:
- https://github.com/advisories/GHSA-p4g4-x82p-q773
- https://github.com/advisories/GHSA-ffc3-869f-jxw9
- https://github.com/advisories/GHSA-9j54-fg26-wv3r
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.
- Dominant language
- Python
- Stars
- 971
- Forks
- 223
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AzureAD/microsoft-authentication-library-for-python
-
needs attention untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
AzureAD/microsoft-authentication-library-for-python#997 ·
Maintainers usually reply within 7 days
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
AzureAD/microsoft-authentication-library-for-python#980 ·
Maintainers usually reply within 7 days
-
[Bug] User Realm Discovery drops the authority's port, so username/password sign-in fails on non-443 authoritiesPossibly taken @THEtheChad claimed this 20 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
AzureAD/microsoft-authentication-library-for-python#989 ·
Maintainers usually reply within 7 days
-
[Bug] Support library-agnostic HTTP clients for Service Fabric managed identityPossibly taken @4gust claimed this 20 days ago. OpenAzureSDK bug P1
Difficulty 4/5 3-5 days Newbie friendliness 48/100
AzureAD/microsoft-authentication-library-for-python#965 · 1 comment · 1 assignee ·
Maintainers usually reply within 7 days
-
http_client docstring does not say that timeout, verify and proxies only configure the default sessionPossibly taken @HardMax71 claimed this 84 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 25/100
AzureAD/microsoft-authentication-library-for-python#960 ·
Maintainers usually reply within 7 days
All issues in AzureAD/microsoft-authentication-library-for-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bad-antics/lateralus-lang#1623 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
fossguild/thelifesnake#82 ·
Maintainers usually reply within 1 day
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorOpengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pietbarber/Manage2Soar#1189 ·
Maintainers usually reply within 1 day
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinatesPossibly taken @dtgaebe claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sandialabs/WecOptTool#467 ·