[
https://issues.apache.org/jira/browse/HBASE-30569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xavier Fernandis updated HBASE-30569:
-------------------------------------
Attachment: rowcounter-with-opentelemetry-common.txt
rowcounter-without-opentelemetry-common.txt
telemetry-check-master.txt
telemetry-hbase-4.0.0-alpha-1-SNAPSHOT-jdk17-otel-1.49.0-agent-2.30.0.txt
telemetry-hbase-4.0.0-alpha-1-SNAPSHOT-jdk17-otel-1.68.0-agent-2.34.0.txt
> Bump OpenTelemetry to 1.68.0 and opentelemetry-javaagent to 2.34.0
> ------------------------------------------------------------------
>
> Key: HBASE-30569
> URL: https://issues.apache.org/jira/browse/HBASE-30569
> Project: HBase
> Issue Type: Task
> Components: dependencies, tracing
> Reporter: Xavier Fernandis
> Assignee: Xavier Fernandis
> Priority: Major
> Labels: pull-request-available
> Attachments: rowcounter-with-opentelemetry-common.txt,
> rowcounter-without-opentelemetry-common.txt, telemetry-check-master.txt,
> telemetry-hbase-4.0.0-alpha-1-SNAPSHOT-jdk17-otel-1.49.0-agent-2.30.0.txt,
> telemetry-hbase-4.0.0-alpha-1-SNAPSHOT-jdk17-otel-1.68.0-agent-2.34.0.txt
>
>
> currently master, branch-3, branch-2 and branch-2.6 currently use
> opentelemetry 1.49.0 (opentelemetry-api,-context) and opentelemetry-javaagent
> 2.30.0.
> +*which contains the following CVE's*+
> * CVE-2026-45292 / GHSA-rcgg-9c38-7xpx (CVSS 5.3, CWE-770): the baggage
> propagators put no limit on the size or number of entries in the baggage
> header. Affects <= 1.61.0, fixed in 1.62.0.
> [https://github.com/advisories/GHSA-rcgg-9c38-7xpx]
> * CVE-2026-118259 / GHSA-ccrj-gw8r-854m (CVSS 5.3, CWE-1333): tracestate is
> split with a regex that backtracks quadratically on long runs of spaces/tabs.
> Affects < 1.67.0, fixed in 1.67.0.
> [https://github.com/advisories/GHSA-ccrj-gw8r-854m]
> +*Proposed change:*+
> * opentelemetry.version 1.49.0 -> 1.68.0
> * opentelemetry-javaagent.version 2.30.0 -> 2.34.0
> * Add opentelemetry-common to TableMapReduceUtil#addHBaseDependencyJars (see
> below).
> opentelemetry-common: since 1.52.0, opentelemetry-context depends on a new
> artifact,
> opentelemetry-common, and Context.current() loads
> io.opentelemetry.common.ComponentLoader from it. Maven pulls it in
> transitively, so the build, the tests and the bin/client assemblies
> (io.opentelemetry:* wildcards) all have it. The jars shipped to MapReduce
> tasks by TableMapReduceUtil#addHBaseDependencyJars are a hand-maintained
> list, though, and only contain opentelemetry-api, -context and -semconv.
> MapReduce tasks that rely on the shipped jars would fail on the first traced
> client call. This is the same problem as HBASE-27353 for
> opentelemetry-context.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)