Skip to content

chore(plugins/composio): remediate Dependabot vulns (#7327) - #7395

Merged
mdmohsin7 merged 1 commit into
mainfrom
rex/plugins-composio-deps
May 19, 2026
Merged

mdmohsin7 merged 1 commit into
mainfrom
rex/plugins-composio-deps

Conversation

@mdmohsin7

Copy link
Copy Markdown
Member

Part of #7327. Per-plugin requirements.txt remediation — group 3 (composio).

Minimal bumps (only the Dependabot-flagged pins — 14 alerts)

package from to why
python-dotenv 1.0.0 1.2.2 flagged
jinja2 3.1.2 3.1.6 CVE-2024-34064 / 56326 / CVE-2025-27516
python-multipart 0.0.6 0.0.29 CVE-2024-53981 + the ReDoS behind PYSEC-2024-38
requests 2.31.0 2.34.2 CVE-2024-35195 / CVE-2024-47081

Unflagged pins kept at exact original (fastapi==0.104.1, uvicorn==0.24.0, httpx==0.24.1, pydantic==2.4.2) — minimal-bump policy.

Validation

  • Resolves cleanly; the 4 flagged pins audit clean.

Documented residuals (pre-existing, transitive, NOT Dependabot alerts here, NOT regressed)

  • fastapi 0.104.1 → pip-audit version-flags PYSEC-2024-38, but that advisory's actual root cause is the python-multipart ReDoS, which is fixed by the python-multipart 0.0.6→0.0.29 bump above. The residual is a version-string match only.
  • starlette 0.27.0 (CVE-2024-47874 / CVE-2025-54121) and h11 0.14.0 (CVE-2025-43859) — pulled transitively by the unchanged fastapi==0.104.1 / httpx==0.24.1; not pinned in the manifest, not Dependabot-flagged here. Optional follow-up if wanted in scope: fastapi>=0.109.1 + httpx>=0.27 clears them.

Alerts cleared

~14 (composio).

Minimal bumps of the 4 Dependabot-flagged pins (14 alerts):
- python-dotenv 1.0.0 -> 1.2.2
- jinja2 3.1.2 -> 3.1.6
- python-multipart 0.0.6 -> 0.0.29
- requests 2.31.0 -> 2.34.2
Unflagged pins (fastapi/uvicorn/httpx/pydantic) kept at exact original.
@mdmohsin7
mdmohsin7 marked this pull request as ready for review May 19, 2026 18:00
@greptile-apps

greptile-apps Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR remedies 14 Dependabot security alerts in the composio plugin by bumping four pinned dependencies to versions that patch their respective CVEs, while leaving the remaining pins unchanged per the minimal-bump policy.

Confidence Score: 4/5

Safe to merge — all four bumped versions are real, published releases and each one covers the advertised CVEs. The unchanged pins leave known transitive vulnerabilities in starlette and h11, but these are pre-existing, documented, and not introduced by this change.

The version bumps are accurate and the targeted CVEs are addressed. The remaining exposure comes from transitive dependencies of the intentionally-unchanged fastapi and httpx pins; the author has acknowledged this and described a follow-up path. No new vulnerabilities are introduced.

A follow-up to plugins/composio/requirements.txt bumping fastapi and httpx would clear the residual starlette and h11 advisories.

Important Files Changed

Filename Overview
plugins/composio/requirements.txt Bumps 4 Dependabot-flagged pins (python-dotenv, jinja2, python-multipart, requests) to address 14 security alerts; leaves fastapi/uvicorn/httpx/pydantic unchanged per minimal-bump policy, leaving transitive starlette and h11 CVEs unresolved.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    subgraph Fixed["✅ Bumped (CVEs cleared)"]
        PD["python-dotenv\n1.0.0 → 1.2.2"]
        J2["jinja2\n3.1.2 → 3.1.6\nCVE-2024-34064 / 56326 / CVE-2025-27516"]
        PM["python-multipart\n0.0.6 → 0.0.29\nCVE-2024-53981 / PYSEC-2024-38"]
        REQ["requests\n2.31.0 → 2.34.2\nCVE-2024-35195 / CVE-2024-47081"]
    end

    subgraph Unchanged["⚠️ Unchanged (minimal-bump policy)"]
        FA["fastapi==0.104.1"]
        HX["httpx==0.24.1"]
    end

    subgraph Residual["⚠️ Residual transitive CVEs"]
        ST["starlette 0.27.0\nCVE-2024-47874 / CVE-2025-54121"]
        H11["h11 0.14.0\nCVE-2025-43859"]
    end

    FA -->|"pulls transitively"| ST
    HX -->|"pulls transitively"| H11

    style Fixed fill:#d4edda,stroke:#28a745
    style Unchanged fill:#fff3cd,stroke:#ffc107
    style Residual fill:#f8d7da,stroke:#dc3545
Loading

Reviews (1): Last reviewed commit: "chore(plugins/composio): remediate Depen..." | Re-trigger Greptile

Comment on lines 1 to +8
fastapi==0.104.1
uvicorn==0.24.0
python-dotenv==1.0.0
python-dotenv==1.2.2
httpx==0.24.1
jinja2==3.1.2
python-multipart==0.0.6
jinja2==3.1.6
python-multipart==0.0.29
pydantic==2.4.2
requests==2.31.0 No newline at end of file
requests==2.34.2 No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Residual transitive CVEs worth tracking

The PR description already calls these out, but they are worth highlighting for anyone landing on the diff: starlette 0.27.0 (pulled transitively by fastapi==0.104.1) carries CVE-2024-47874 and CVE-2025-54121, and h11 0.14.0 (pulled transitively by httpx==0.24.1) carries CVE-2025-43859. Bumping to fastapi>=0.109.1 + httpx>=0.27 would clear both sets. This is not a regression introduced here — just a heads-up that a follow-up ticket to address these would be worthwhile.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acknowledged — agreed, and this is already called out explicitly in the PR description ("Documented residuals"). To summarize for anyone on the diff: starlette 0.27.0 (CVE-2024-47874 / CVE-2025-54121, transitive via the unchanged fastapi==0.104.1) and h11 0.14.0 (CVE-2025-43859, transitive via the unchanged httpx==0.24.1) are pre-existing, not introduced by this PR, and not Dependabot-flagged on this manifest (neither is pinned here). They're intentionally out of scope under the minimal-bump policy. A follow-up bumping fastapi>=0.109.1 + httpx>=0.27 clears both sets and is noted as an optional follow-up for the issue owner (#7327). No change to this PR.

@mdmohsin7
mdmohsin7 merged commit 4d60693 into main May 19, 2026
3 checks passed
@mdmohsin7
mdmohsin7 deleted the rex/plugins-composio-deps branch May 19, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant