Skip to content

Force patched versions of vulnerable build classpath dependencies - #17

Merged
simonebortolin merged 2 commits into
masterfrom
claude/sweet-franklin-btyapa
Oct 25, 2026
Merged

simonebortolin merged 2 commits into
masterfrom
claude/sweet-franklin-btyapa

Conversation

@simonebortolin

@simonebortolin simonebortolin commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

The Dependabot alerts come from transitive dependencies of the Android Gradle Plugin on the build classpath, not from the library or the sample app. This PR pins patched versions with buildscript dependency constraints in the root build.gradle:

Dependency From To Reason
org.apache.commons:commons-lang3 3.16.0 3.18.0 CVE-2025-48924
org.apache.httpcomponents:httpclient / httpmime 4.5.6 4.5.14 CVE-2020-13956
org.jdom:jdom2 2.0.6 2.0.6.1 CVE-2021-33813
org.bitbucket.b_c:jose4j 0.9.5 0.9.6 CVE-2024-29371
org.apache.commons:commons-compress 1.27.1 1.28.0 security fixes
org.bouncycastle:bcprov/bcpkix/bcutil-jdk18on 1.80.2 1.85 security fixes

The constraints can be removed once AGP ships these versions itself.

It also bumps the library version to 1.11.0 (gradle.properties and README), so merging releases it.

Testing

  • Checked in a standalone Gradle project that the constraints upgrade the resolved versions (e.g. commons-lang3:3.16.0 -> 3.18.0, jdom2:2.0.6 -> 2.0.6.1).
  • The full build could not run in the authoring environment (Google Maven not reachable): relying on CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_0178vjPYCurDqWnpvkLsVmZ1

The Android Gradle Plugin brings in vulnerable transitive dependencies
(commons-lang3, httpclient, jdom2, jose4j, commons-compress, Bouncy Castle)
reported by Dependabot: pin patched versions with buildscript constraints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178vjPYCurDqWnpvkLsVmZ1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178vjPYCurDqWnpvkLsVmZ1
@simonebortolin
simonebortolin merged commit e9ef66d into master Oct 25, 2026
15 checks passed
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.

2 participants