Skip to content

[WIP]HIVE-29299: Upgrade Spring to 6.2.12 and spring-ldap-core to 3.3.4 to resolve CVE-2025-41249#6401

Draft
hemanthumashankar0511 wants to merge 1 commit intoapache:masterfrom
hemanthumashankar0511:spring_upgrade
Draft

[WIP]HIVE-29299: Upgrade Spring to 6.2.12 and spring-ldap-core to 3.3.4 to resolve CVE-2025-41249#6401
hemanthumashankar0511 wants to merge 1 commit intoapache:masterfrom
hemanthumashankar0511:spring_upgrade

Conversation

@hemanthumashankar0511
Copy link
Copy Markdown
Contributor

@hemanthumashankar0511 hemanthumashankar0511 commented Apr 1, 2026

What changes were proposed in this pull request?
This PR upgrades two Spring-related dependencies to address a known security vulnerability:

spring.version: 5.3.39 → 6.2.12 (in both pom.xml and standalone-metastore/pom.xml)
spring-ldap-core: 2.4.4 → 3.3.4 (in both pom.xml and standalone-metastore/pom.xml)

Why are the changes needed?
This upgrade addresses CVE-2025-41249, which affects spring-core versions through 5.3.39. The previously used spring-ldap-core:2.4.4 transitively pulled in the vulnerable spring-core:5.3.39. Upgrading to spring-ldap-core:3.3.4 brings in a Spring 6.2.12 baseline, fully resolving the vulnerability.
The fix has been verified across both the standalone-metastore and ql modules, neither module's dependency tree contains spring-core:5.3.x after this change.

Does this PR introduce any user-facing change?
No

How was this patch tested?

Dependency tree verification : Confirmed via mvn dependency:tree on both the standalone-metastore and ql modules that spring-core:5.3.39 is fully replaced by 6.2.12 with no residual vulnerable transitive references.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@hemanthumashankar0511 hemanthumashankar0511 changed the title HIVE-29299: Upgrade Spring to 6.2.12 and spring-ldap-core to 3.3.4 to resolve CVE-2025-41249 [WIP]HIVE-29299: Upgrade Spring to 6.2.12 and spring-ldap-core to 3.3.4 to resolve CVE-2025-41249 Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants