Shilun Fan created HADOOP-20103:
-----------------------------------

             Summary: Upgrade AssertJ Core to 3.27.7 to address CVE-2026-24400
                 Key: HADOOP-20103
                 URL: https://issues.apache.org/jira/browse/HADOOP-20103
             Project: Hadoop Common
          Issue Type: Improvement
          Components: common
            Reporter: Shilun Fan
            Assignee: Shilun Fan


h2. Description

Hadoop uses {{org.assertj:assertj-core:3.12.2}} as a Maven test dependency. 
This version is affected by CVE-2026-24400, an XML External Entity (XXE) 
vulnerability in AssertJ’s XML assertion support when processing untrusted XML. 
AssertJ fixed the issue in version {{{}3.27.7{}}}. [Upstream security 
advisory|https://github.com/assertj/assertj/security/advisories/GHSA-rqfh-9r24-8c9r]

Upgrade {{assertj-core}} to {{3.27.7}} in {{{}hadoop-project/pom.xml{}}}. 
Update {{TestConfigurationHelper}} to use {{Assertions.assertThatIterable()}} 
so the assertion retains its {{IterableAssert}} return type after the upgrade.
h2. Testing

Hadoop Common compiled successfully with AssertJ {{3.27.7}} in the local 
validation build. All 20 tests in {{TestConfigurationHelper}} passed.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to