Skip to content

[Backport 3.7] Align repository-gcs OpenTelemetry dependencies (CVE-2026-45292) - #22614

Open
nishthm wants to merge 1 commit into
opensearch-project:3.7from
nishthm:fix/otel-cve-2026-45292-3.7
Open

[Backport 3.7] Align repository-gcs OpenTelemetry dependencies (CVE-2026-45292)#22614
nishthm wants to merge 1 commit into
opensearch-project:3.7from
nishthm:fix/otel-cve-2026-45292-3.7

Conversation

@nishthm

@nishthm nishthm commented Jul 30, 2026

Copy link
Copy Markdown

Description

Backport of #22579 to the 3.7 branch to address CVE-2026-45292.

Aligns the OpenTelemetry runtime dependencies used by repository-gcs with the versions already managed by the OpenSearch version catalog. The plugin previously pinned opentelemetry-api and opentelemetry-context to 1.47.0, overriding the repository-wide 1.62.0 version. Using the catalog resolves these runtime dependencies to 1.62.0 (>= the fix threshold for CVE-2026-45292).

Adds opentelemetry-common to the license SHA registry. Dependency verification SHAs are regenerated via updateShas.

Related Issues

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Backport of opensearch-project#22579 to the 3.7 branch to address CVE-2026-45292.

Aligns the OpenTelemetry runtime dependencies used by repository-gcs
with the versions already managed by the OpenSearch version catalog.

The plugin previously pinned opentelemetry-api and opentelemetry-context
to 1.47.0, overriding the repository-wide 1.62.0 version. Using the
catalog avoids that drift and resolves the OpenTelemetry runtime
dependencies to 1.62.0 (>= 1.62.0 which is the fix threshold for
CVE-2026-45292).

Adds opentelemetry-common to the license SHA registry to match the
catalog bundle. The dependency verification SHAs are regenerated
accordingly.

Validation:
- ./gradlew :plugins:repository-gcs:updateShas -Pcrypto.standard=FIPS-140-3
- ./gradlew :plugins:repository-gcs:dependencyInsight --dependency opentelemetry-api --configuration runtimeClasspath -Pcrypto.standard=FIPS-140-3
  -> resolves to 1.62.0
- ./gradlew :plugins:repository-gcs:dependencyInsight --dependency opentelemetry-context --configuration runtimeClasspath -Pcrypto.standard=FIPS-140-3
  -> resolves to 1.62.0

Signed-off-by: Nishtha Mittal <nishthamittal04@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Code Analyzer ❗

AI-powered 'Code-Diff-Analyzer' found issues on commit 734db2f.

Hard block: Issues at Medium severity or above will block this PR from merging.

PathLineSeverityDescription
.github/workflows/gradle-check.yml35highCode-Diff-Analyzer reusable workflow reference changed from a pinned commit hash (c2498b758c08fb7bc48476509a5fc1b8dd5f7493) to the mutable @main branch ref, removing supply chain integrity protection and allowing arbitrary code injection if the upstream repo is compromised.
.github/workflows/gradle-check.yml48highCode-Diff-Reviewer reusable workflow reference changed from a pinned commit hash to the mutable @main branch ref, same supply chain risk as above.
.github/workflows/issue-dedupe.yml23highissue-dedupe-detect reusable workflow reference changed from pinned commit hash (c2498b758c08fb7bc48476509a5fc1b8dd5f7493) to @main, removing supply chain integrity protection.
.github/workflows/issue-dedupe.yml36highissue-dedupe-autoclose reusable workflow reference changed from pinned commit hash to @main, removing supply chain integrity protection.
buildSrc/build.gradle134highNew dependency added: org.codehaus.plexus:plexus-xml:3.0.1. Mandatory flag: artifact authenticity cannot be verified without independent review.
gradle/libs.versions.toml43highNetty dependency version bumped from 4.2.14.Final to 4.2.15.Final, affecting all modules and plugins. Mandatory flag for dependency version change.
plugins/ingestion-kafka/build.gradle20highkafka-clients dependency version bumped from 3.9.1 to 3.9.2. Mandatory flag for dependency version change.
buildSrc/build.gradle128highcom.gradleup.shadow:shadow-gradle-plugin version bumped from 9.3.1 to 9.4.2. This is a build plugin that executes during compilation; mandatory flag for build plugin change.
plugins/repository-gcs/build.gradle93highOpenTelemetry dependencies bumped from 1.47.0 to 1.62.0, and new artifact opentelemetry-common added. Mandatory flag for dependency version change and new dependency addition.
test/fixtures/hdfs-fixture/build.gradle36highEclipse Jetty version bumped from 9.4.57.v20241219 to 9.4.58.v20250814. Mandatory flag for dependency version change.

The table above displays the top 10 most important findings.

Total: 14 | Critical: 0 | High: 14 | Medium: 0 | Low: 0


Pull Requests Author(s): Please update your Pull Request according to the report above.

Repository Maintainer(s): You can bypass diff analyzer by adding label skip-diff-analyzer after reviewing the changes carefully, then re-run failed actions. To re-enable the analyzer, remove the label, then re-run all actions.


⚠️ Note: The Code-Diff-Analyzer helps protect against potentially harmful code patterns. Please ensure you have thoroughly reviewed the changes beforehand.

Thanks.

@nishthm
nishthm changed the base branch from main to 3.7 July 30, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant