Symptom

Kraken’s nightly dependency-CVE scan reported open Dependabot alerts for io.netty:netty-common < 4.1.118.Final (GHSA-389x-839f-4rhx) and <= 4.1.114.Final (GHSA-xq3w-v528-46rv). The proposed fix was to resolutionStrategy.force("io.netty:netty-common:4.1.118.Final") in allprojects.

Root cause

The alerts were stale / false-positives given current resolution. Two netty-common paths exist in the project:

The proposed force("4.1.118.Final") would have DOWNGRADED the Lambda from 4.1.135 to 4.1.118, which is the wrong direction and could break AWS SDK compatibility.

Fix

Added a conditional eachDependency floor in build.gradle.kts (following the guava/httpclient/gson pattern) that only fires when a 4.1.x version below 4.1.118 is requested:

No resolved versions changed (server stays at 4.2.15, Lambda stays at 4.1.135).

Prevention