Skip to content

Commit e3c7de5

Browse files
dbezicDominik Bezic
andauthored
fix(deps): upgrade dependencies to address security vulnerabilities (#276)
* update package versions * bump pyJWT * fix pr comments --------- Co-authored-by: Dominik Bezic <dominikbezic@microsoft.com>
1 parent a200650 commit e3c7de5

12 files changed

Lines changed: 299 additions & 25 deletions

File tree

‎libraries/microsoft-agents-a365-notifications/pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ dependencies = [
3030
"microsoft-agents-activity",
3131
"microsoft-agents-hosting-core",
3232
"pydantic",
33+
# Publish the security floor for the hosting SDK's transitive dependency.
34+
"PyJWT",
3335
]
3436

3537
[project.urls]

‎libraries/microsoft-agents-a365-observability-extensions-langchain/pyproject.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ dependencies = [
3131
"opentelemetry-sdk",
3232
"opentelemetry-instrumentation",
3333
"wrapt",
34+
# Publish security floors for LangChain's transitive dependencies.
35+
"langsmith",
36+
"anyio",
3437
]
3538

3639
[project.urls]

‎libraries/microsoft-agents-a365-observability-extensions-openai/pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ dependencies = [
3030
"opentelemetry-api",
3131
"opentelemetry-sdk",
3232
"opentelemetry-instrumentation",
33+
# Publish security floors for the framework's transitive dependencies.
34+
"mcp",
35+
"anyio",
36+
"python-multipart",
3337
]
3438

3539
[project.urls]

‎libraries/microsoft-agents-a365-observability-extensions-semantickernel/pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ dependencies = [
3030
"opentelemetry-api",
3131
"opentelemetry-sdk",
3232
"opentelemetry-instrumentation",
33+
# Publish security floors for the framework's transitive dependencies.
34+
"mcp",
35+
"anyio",
36+
"python-multipart",
3337
]
3438

3539
[project.urls]

‎libraries/microsoft-agents-a365-tooling-extensions-agentframework/pyproject.toml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ dependencies = [
2929
"azure-identity",
3030
"typing-extensions",
3131
"httpx",
32+
# Publish security floors for the framework's transitive dependencies.
33+
"mcp",
34+
"anyio",
35+
"python-multipart",
36+
"pyasn1",
3237
]
3338

3439
[project.urls]

‎libraries/microsoft-agents-a365-tooling-extensions-googleadk/pyproject.toml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ dependencies = [
2626
"microsoft-agents-a365-tooling",
2727
"microsoft-agents-hosting-core",
2828
"google-adk",
29+
# Publish security floors for the framework's transitive dependencies.
30+
"mcp",
31+
"anyio",
32+
"python-multipart",
33+
"pyasn1",
2934
]
3035

3136
[project.urls]

‎libraries/microsoft-agents-a365-tooling-extensions-openai/pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ dependencies = [
2626
"microsoft-agents-a365-tooling",
2727
"openai-agents",
2828
"asyncio-throttle",
29+
# Publish security floors for the framework's transitive dependencies.
30+
"mcp",
31+
"anyio",
32+
"python-multipart",
2933
]
3034

3135
[project.urls]

‎libraries/microsoft-agents-a365-tooling-extensions-semantickernel/pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ dependencies = [
2626
"microsoft-agents-a365-tooling",
2727
"semantic-kernel",
2828
"aiohttp",
29+
# Publish security floors for the framework's transitive dependencies.
30+
"mcp",
31+
"anyio",
32+
"python-multipart",
2933
]
3034

3135
[project.urls]

‎libraries/microsoft-agents-a365-tooling/pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ dependencies = [
2626
"pydantic",
2727
"typing-extensions",
2828
"microsoft-agents-hosting-core",
29+
# Publish the security floor for the hosting SDK's transitive dependency.
30+
"PyJWT",
2931
]
3032

3133
[project.urls]

‎pyproject.toml‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ override-dependencies = [
7171
# Centralized version constraints for all external dependencies
7272
# Individual package pyproject.toml files declare dependencies by name only (no version)
7373
# uv applies these constraints during dependency resolution
74+
# Security-critical transitive dependencies must also be declared by affected libraries
75+
# so the build backend includes their minimum versions in published wheel metadata.
7476
constraint-dependencies = [
7577
# --- Observability (OpenTelemetry) ---
7678
"opentelemetry-api >= 1.36.0",
@@ -89,7 +91,9 @@ constraint-dependencies = [
8991
# --- AI Frameworks ---
9092
"agent-framework >= 1.0.0",
9193
"agent-framework-core >= 1.0.0",
92-
"langchain-core >= 0.1.0",
94+
"langchain-core >= 1.3.3",
95+
"langsmith >= 0.8.18",
96+
"mcp >= 1.28.1",
9397
"openai-agents >= 0.2.6",
9498
"semantic-kernel >= 1.39.3",
9599
# google-adk >=1.28.1,<2.0.0 - security remediation. Fixes CVE-2026-4810
@@ -111,10 +115,13 @@ constraint-dependencies = [
111115

112116
# --- Data Validation & Utilities ---
113117
"aiohttp >= 3.8.0",
118+
"anyio >= 4.14.2",
114119
"asyncio-throttle >= 1.0.0",
115120
"httpx >= 0.27.0",
121+
"pyasn1 >= 0.6.4",
116122
"pydantic >= 2.0.0",
117-
"PyJWT >= 2.8.0",
123+
"PyJWT >= 2.14.0",
124+
"python-multipart >= 0.0.30",
118125
"typing-extensions >= 4.0.0",
119126

120127
# --- Tox ---

0 commit comments

Comments
 (0)