Skip to content

chore: resolve open dependabot security alerts - #326

Merged
jonathannorris merged 3 commits into
mainfrom
chore/dependabot-alerts
Sep 8, 2026
Merged

chore: resolve open dependabot security alerts#326
jonathannorris merged 3 commits into
mainfrom
chore/dependabot-alerts

Conversation

@jonathannorris

@jonathannorris jonathannorris commented Sep 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Bumped io.netty:netty-codec-http (and related forced Netty modules) from 4.2.16.Final to 4.2.17.Final to resolve a moderate cache poisoning / information disclosure vulnerability via CORS Vary header overwrite

Dependabot Alerts Resolved

Alert Package Severity Fix
#58 io.netty:netty-codec-http medium Bumped forced version to 4.2.17.Final

Unresolvable / Deferred

Alert Package Severity Reason
#57 org.jetbrains.kotlin:kotlin-gradle-plugin medium The patched version (2.4.20-Beta1 minimum, 2.4.20 for a stable release) is incompatible with this repo's current toolchain: AGP 8.13.2's bundled R8/Lint fails to parse Kotlin 2.4.20's metadata format (ExceptionInInitializerError in AndroidLintWorkAction, confirmed reproducible in CI), and GitHub's hosted CodeQL Kotlin extractor explicitly rejects it ("Kotlin version 2.4.20 is too recent"). AGP 8.13.2 is the latest 8.x release; a fix requires bumping AGP to 9.x, which in turn requires Gradle 9.6.0 — a much larger, breaking upgrade spanning all four Gradle modules in this repo. That is out of scope for a routine dependabot-alerts PR and is recommended as a dedicated follow-up.

Notes

  • Verified with ./gradlew :android-client-sdk:testDebugUnitTest and ./gradlew :android-client-sdk:build — the SDK module builds and unit tests pass with the Netty bump alone.

- io.netty:netty-codec-http 4.2.16.Final -> 4.2.17.Final (medium, alert #58)
- org.jetbrains.kotlin:kotlin-gradle-plugin 2.1.20 -> 2.4.20 (medium, alert #57)
Copilot AI lite review requested due to automatic review settings September 8, 2026 14:27
@jonathannorris
jonathannorris requested a review from a team as a code owner September 8, 2026 14:27

Copilot AI left a comment

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.

🟢 Approval recommended

The changes are limited to dependency/version bumps addressing security advisories, with only a minor maintainability nit noted.

Pull request overview

Updates build dependencies to resolve Dependabot security alerts by upgrading Kotlin Gradle plugin and forcing patched Netty versions across the buildscript and all subprojects.

Changes:

  • Bumped org.jetbrains.kotlin:kotlin-gradle-plugin to 2.4.20 in the root buildscript.
  • Forced Netty modules from 4.2.16.Final to 4.2.17.Final in both buildscript classpath and subproject configurations.
  • Updated kotlin_reflect_version / kotlin_version constants in the android-client-sdk module.
File summaries
File Description
build.gradle Updates Kotlin Gradle plugin and forces patched Netty versions in buildscript + all subprojects.
android-client-sdk/build.gradle Updates Kotlin-related version constants used for module dependencies.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread android-client-sdk/build.gradle Outdated
Kotlin 2.4.20 (required by Dependabot alert #57, fixed_in 2.4.20-Beta1)
is not yet supported by AGP 8.13.2's bundled R8 (8.13.19, Kotlin <=2.3
only) or by GitHub's default CodeQL Kotlin extractor, causing
lintAnalyzeMinified/R8 metadata failures and CodeQL analysis failures.
AGP support for the required R8 version is only available starting
with AGP 9.x, a breaking major upgrade out of scope here. Revert
kotlin_version/kotlin_reflect_version to 2.1.20 (the combination
already verified green on main) while keeping the netty bump to
4.2.17.Final, which fully resolves alert #58.
Copilot review nit: kotlin_reflect_version is the one actually referenced
across the build; kotlin_version was dead config left from an earlier
refactor.
@jonathannorris
jonathannorris merged commit c15af83 into main Sep 8, 2026
6 checks passed
@jonathannorris
jonathannorris deleted the chore/dependabot-alerts branch September 8, 2026 19:46
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.

3 participants