We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974191e commit 585866bCopy full SHA for 585866b
javaagent/build.gradle.kts
@@ -58,6 +58,10 @@ tasks {
58
// exclude because it would be shaded twice and the META-INF/services/ would be io.opentelemetry.javaagent.shaded.io.grpc
59
exclude("inst/META-INF/services/io.grpc*")
60
}
61
+ // Fix CVE-2024-7254, opentelemetry-javaagent brings in io.prometheus.metrics which uses deps of high vulnerability protobuf-java version
62
+ // This was fixed in 2.x.x versions of opentelemetry-javaagent(which needs us to upgrade from 1.33.0)
63
+ // TODO: Remove this exclusion after otel-javaagent upgrade which has CVE-2024-7254 fix
64
+ exclude("inst/io/prometheus/metrics/shaded/com_google_protobuf_3_21_7/**")
65
exclude("**/module-info.class")
66
manifest {
67
attributes.put("Implementation-Title", "javaagent")
0 commit comments