Skip to content

Commit 4a226eb

Browse files
committed
fix(deps): pin transitive deps to resolve Trivy CVE alerts
Adds minimum version constraints for indirect dependencies with known vulnerabilities: - gitpython >=3.1.47 (CVE-2026-42215, CVE-2026-42284 - HIGH) - langchain-text-splitters >=1.1.2 (CVE-2026-41481) - langsmith >=0.7.31 (CVE-2026-41182) - mako >=1.3.11 (CVE-2026-41205) - marshmallow >=3.26.2 (CVE-2025-68480) - python-dotenv >=1.2.2 (CVE-2026-28684) - requests >=2.33.0 (CVE-2026-25645) Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
1 parent 3b66b64 commit 4a226eb

2 files changed

Lines changed: 42 additions & 21 deletions

File tree

a2a/weather_service/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ dependencies = [
3737
"starlette>=0.49.1", # Indirect; prevents CVE-2025-62727
3838
"pyasn1>=0.6.3", # Indirect; prevents CVE-2026-30922
3939
"aiohttp>=3.13.5", # Indirect; prevents CVE-2025-69223
40+
"gitpython>=3.1.47", # Indirect; prevents CVE-2026-42215, CVE-2026-42284
41+
"langchain-text-splitters>=1.1.2", # Indirect; prevents CVE-2026-41481
42+
"langsmith>=0.7.31", # Indirect; prevents CVE-2026-41182
43+
"mako>=1.3.11", # Indirect; prevents CVE-2026-41205
44+
"marshmallow>=3.26.2", # Indirect; prevents CVE-2025-68480
45+
"python-dotenv>=1.2.2", # Indirect; prevents CVE-2026-28684
46+
"requests>=2.33.0", # Indirect; prevents CVE-2026-25645
4047
]
4148

4249
[project.scripts]

a2a/weather_service/uv.lock

Lines changed: 35 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)