Skip to content

[CVE-2026-24400] Bump assertj-core from 3.9.1 to 3.27.7#5294

Merged
dai-chen merged 1 commit intoopensearch-project:2.19from
dai-chen:fix/cve-2026-24400-assertj-xxe
Mar 31, 2026
Merged

[CVE-2026-24400] Bump assertj-core from 3.9.1 to 3.27.7#5294
dai-chen merged 1 commit intoopensearch-project:2.19from
dai-chen:fix/cve-2026-24400-assertj-xxe

Conversation

@dai-chen
Copy link
Copy Markdown
Collaborator

@dai-chen dai-chen commented Mar 31, 2026

Description

Summary

Bumps org.assertj:assertj-core from 3.9.1 to 3.27.7 in the common module to resolve CVE-2026-24400. The original fix was merged to main in #5100, but the automated backport to 2.19-dev failed.

Testing

Verified assertj-core only appears in :common module across the entire project:

for module in $(./gradlew projects 2>/dev/null | grep "Project '" | sed "s/.*Project '\\(.*\\)'/\\1/"); do
  echo "=== $module ==="
  ./gradlew ${module}:dependencies 2>/dev/null | grep -i assertj
done

=== :async-query ===
=== :async-query-core ===
=== :benchmarks ===
=== :common ===
+--- org.assertj:assertj-core:3.27.7
+--- org.assertj:assertj-core:3.27.7 (n)
+--- org.assertj:assertj-core:3.27.7
=== :core ===
=== :datasources ===
=== :doctest ===
=== :integ-test ===
=== :legacy ===
=== :opensearch ===
=== :opensearch-sql-plugin ===
=== :ppl ===
=== :prometheus ===
=== :protocol ===
=== :spark ===
=== :sql ===

Related Issues

Resolves CVE-2026-24400

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

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.

@dai-chen dai-chen self-assigned this Mar 31, 2026
Addresses CVE-2026-24400 (GHSA-rqfh-9r24-8c9r), an XXE vulnerability
in AssertJ's isXmlEqualTo assertion when parsing untrusted XML. While
the vulnerable method is not used in this codebase and assertj-core is
test-scoped only, this bump resolves the security scanner finding on
the 2.19 branch.

Signed-off-by: Chen Dai <daichen@amazon.com>
@dai-chen dai-chen force-pushed the fix/cve-2026-24400-assertj-xxe branch from a185de6 to 7662174 Compare March 31, 2026 16:43
@dai-chen dai-chen added the maintenance Improves code quality, but not the product label Mar 31, 2026
@dai-chen dai-chen marked this pull request as ready for review March 31, 2026 16:57
@dai-chen dai-chen merged commit 5b5dfee into opensearch-project:2.19 Mar 31, 2026
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Improves code quality, but not the product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants