Skip to content

Commit

Permalink
exclude protobuf deps
Browse files Browse the repository at this point in the history
  • Loading branch information
thugrock7 committed Dec 30, 2024
1 parent aca5f12 commit 6b2c652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ tasks {
// exclude because it would be shaded twice and the META-INF/services/ would be io.opentelemetry.javaagent.shaded.io.grpc
exclude("inst/META-INF/services/io.grpc*")
}
// Fix CVE-2024-7254, opentelemetry-javaagent brings in io.prometheus.metrics which uses deps of high vulnerability protobuf-java version
// This was fixed in 2.x.x versions of opentelemetry-javaagent(which needs us to upgrade from 1.33.0)
exclude("inst/io/prometheus/metrics/shaded/com_google_protobuf_3_21_7/**")
exclude("**/module-info.class")
manifest {
attributes.put("Implementation-Title", "javaagent")
Expand Down

0 comments on commit 6b2c652

Please sign in to comment.