newrelic / newrelic/newrelic-java-agent

Shaded Kotlin version (1.8.0) is EOL — please upgrade to supported Kotlin release

Open
#3,067 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
240
Forks
170
Avg merge
3d 2h
Merged PRs (30d)
21

Description

Description

The newrelic-agent-9.3.0.jar bundles a shaded copy of Kotlin 1.8.0. According to https://endoflife.date/kotlin, Kotlin 1.8.x is end-of-life and no longer receives security patches. Enterprise security scanners (e.g. Black Duck) flag this as an EOL component in the shipped product distribution, blocking compliance sign-off. Since the Kotlin runtime is shaded inside the agent jar and there is no way for consumers to override or exclude it, this can only be resolved by the NewRelic team upgrading to a currently supported Kotlin release.

Expected Behavior

newrelic-agent should bundle a Kotlin version that is within its active support window per https://endoflife.date/kotlin

Agent version:

9.3.0

Java version:

Java 17

Operating system:

Linux

Steps to reproduce / evidence:

Download newrelic-agent-9.3.0.jar
Run: unzip -l newrelic-agent-9.3.0.jar | grep kotlin
Observe shaded Kotlin classes present at version 1.8.0
Cross-reference against https://endoflife.date/kotlin — 1.8.x is EOL

Additional context:

This is flagged by Black Duck SCA scanning as an EOL component in our product distribution. We cannot exclude the agent jar as it is a mandatory cloud operations monitoring requirement. We have no remediation path available without a fix from NewRelic. Requesting this be addressed in a future agent release.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting newrelic-agent-9.3.0.jar with unzip -l ... | grep kotlin and trace the build dependency that supplies the shaded Kotlin classes. Confirm which supported Kotlin release can be bundled without breaking the Java agent, then verify the rebuilt agent no longer contains Kotlin 1.8.0 and passes the project checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
backend, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.