Skip to content

chore(security): bump deps to address reported CVEs#27994

Merged
chirag-madlani merged 2 commits into
mainfrom
harshach/fix-vulns
May 8, 2026
Merged

chore(security): bump deps to address reported CVEs#27994
chirag-madlani merged 2 commits into
mainfrom
harshach/fix-vulns

Conversation

@harshach
Copy link
Copy Markdown
Collaborator

@harshach harshach commented May 8, 2026

Describe your changes:

Bumps a few Maven dependencies to address vulnerabilities reported by our SCA / AWS Inspector scans.

Dependency Before After Addresses
log4j 2.25.3 2.25.4 CVE-2026-34477, CVE-2026-34478, CVE-2026-34480
jsonschema2pojo 1.2.2 1.3.0 CVE-2025-3588
netty-bom 4.1.132.Final 4.1.133.Final netty-codec-http / netty-codec / netty-transport-native-epoll GHSAs
azure-identity (in openmetadata-service) 1.14.0 1.15.2 aligns service module with parent dependencyManagement; covers CVE-2024-35255

Other CVEs in the report (jetty 12.1.7, bouncycastle 1.84, logback 1.5.25, angus-mail 2.0.4) are already at fix versions on main. net.i2p.crypto:eddsa and org.eclipse.jgit are not in our Maven dependency tree (verified via mvn dependency:tree across all 16 modules) — they originate elsewhere (likely the Airflow base image or a stale scanned image) and cannot be addressed from pom.xml. lcms2 is an Alpine OS package handled by the Docker apk upgrade step.

Type of change:

  • Bug fix

Tests:

Manual testing performed

  • Ran mvn dependency:tree -pl openmetadata-service -am and confirmed the resolved versions are log4j-core:2.25.4, jsonschema2pojo-core:1.3.0, netty-codec:4.1.133.Final, azure-identity:1.15.2.

UI screen recording / screenshots:

Not applicable.

Checklist:

  • I have read the CONTRIBUTING document.

Summary by Gitar

  • Dependency updates:
    • Bumped jsonschema2pojo.version from 1.3.0 to 1.3.1 in pom.xml to resolve classpath issues with the maven-plugin.

This will update automatically on new commits.

- log4j 2.25.3 -> 2.25.4 (CVE-2026-34477/34478/34480)
- jsonschema2pojo 1.2.2 -> 1.3.0 (CVE-2025-3588)
- netty-bom 4.1.132 -> 4.1.133 (netty-codec/transport GHSAs)
- azure-identity 1.14.0 -> 1.15.2 in openmetadata-service to align
  with parent dependencyManagement
Copilot AI review requested due to automatic review settings May 8, 2026 14:10
@github-actions github-actions Bot added backend safe to test Add this label to run secure Github workflows on PRs labels May 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Maven dependency versions to remediate security findings reported by SCA/AWS Inspector, primarily by bumping centrally-managed versions in the parent POM and aligning a service-module override.

Changes:

  • Bumped jsonschema2pojo to 1.3.0.
  • Bumped log4j to 2.25.4.
  • Bumped io.netty:netty-bom to 4.1.133.Final.
  • Bumped com.azure:azure-identity (service module property) to 1.15.2.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pom.xml Updates shared dependency version properties and the imported Netty BOM version used across modules.
openmetadata-service/pom.xml Updates the service module’s azure-identity version property to the patched release.

<dropwizard.swagger.version>4.0.5-1</dropwizard.swagger.version>
<awssdk.version>2.30.19</awssdk.version>
<azure-identity.version>1.14.0</azure-identity.version>
<azure-identity.version>1.15.2</azure-identity.version>
1.3.0 dropped its declared dep on plexus-utils, breaking the
maven-plugin at runtime with NoClassDefFoundError on
org/codehaus/plexus/util/DirectoryScanner. 1.3.1 restores it.
1.3.3 has a separate regression (IndexOutOfBoundsException in
ValidRule), so 1.3.1 is the right pin.
@gitar-bot
Copy link
Copy Markdown

gitar-bot Bot commented May 8, 2026

Code Review ✅ Approved

Updates Log4j, jsonschema2pojo, netty-bom, and azure-identity versions to patch identified CVEs. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

🟡 Playwright Results — all passed (9 flaky)

✅ 4019 passed · ❌ 0 failed · 🟡 9 flaky · ⏭️ 86 skipped

Shard Passed Failed Flaky Skipped
✅ Shard 1 299 0 0 4
🟡 Shard 2 752 0 3 8
🟡 Shard 3 758 0 1 7
✅ Shard 4 790 0 0 18
✅ Shard 5 687 0 0 41
🟡 Shard 6 733 0 5 8
🟡 9 flaky test(s) (passed on retry)
  • Features/ActivityAPI.spec.ts › Activity event shows the actor who made the change (shard 2, 1 retry)
  • Features/BulkEditEntity.spec.ts › Glossary (shard 2, 1 retry)
  • Features/Glossary/GlossaryWorkflow.spec.ts › should display correct status badge color and icon (shard 2, 1 retry)
  • Flow/ObservabilityAlerts.spec.ts › Alert operations for a user with and without permissions (shard 3, 2 retries)
  • Pages/Lineage/LineageFilters.spec.ts › Verify lineage schema filter selection (shard 6, 1 retry)
  • Pages/ServiceEntity.spec.ts › Tier Add, Update and Remove (shard 6, 1 retry)
  • Pages/UserDetails.spec.ts › Create team with domain and verify visibility of inherited domain in user profile after team removal (shard 6, 1 retry)
  • VersionPages/EntityVersionPages.spec.ts › Pipeline (shard 6, 1 retry)
  • VersionPages/EntityVersionPages.spec.ts › Spreadsheet (shard 6, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@chirag-madlani chirag-madlani merged commit 9956592 into main May 8, 2026
55 checks passed
@chirag-madlani chirag-madlani deleted the harshach/fix-vulns branch May 8, 2026 17:03
chirag-madlani pushed a commit that referenced this pull request May 8, 2026
* chore(security): bump deps to address reported CVEs

- log4j 2.25.3 -> 2.25.4 (CVE-2026-34477/34478/34480)
- jsonschema2pojo 1.2.2 -> 1.3.0 (CVE-2025-3588)
- netty-bom 4.1.132 -> 4.1.133 (netty-codec/transport GHSAs)
- azure-identity 1.14.0 -> 1.15.2 in openmetadata-service to align
  with parent dependencyManagement

* fix: bump jsonschema2pojo to 1.3.1 to fix maven-plugin classpath

1.3.0 dropped its declared dep on plexus-utils, breaking the
maven-plugin at runtime with NoClassDefFoundError on
org/codehaus/plexus/util/DirectoryScanner. 1.3.1 restores it.
1.3.3 has a separate regression (IndexOutOfBoundsException in
ValidRule), so 1.3.1 is the right pin.

(cherry picked from commit 9956592)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants