Skip to content

Conversation

@jamie-albert
Copy link
Member

Summary

This PR marks jackson-core vulnerability GHSA-wf8f-6423-gfxg as pending-upstream-fix for spark-3.5.

Technical Details

The vulnerability affects jackson-core's JsonLocation._appendSourceDesc method, which can leak up to 500 bytes of unintended memory content in exception messages when parsing JSON from byte arrays with offsets.

Why We Can't Fix This Now

Upgrading to jackson-core 2.13.0+ (which fixes this vulnerability) requires significant code changes in Hadoop including:

  1. Introduction of org.apache.hadoop.util.dynamic.DynConstructors utility class
  2. Refactoring of exception handling in multiple core components (NetUtils, WebHdfsFileSystem)
  3. Changes to import organization and method signatures

The patch from HADOOP-19259 cannot be cleanly applied to Hadoop 3.3.6 (used by Spark) due to these missing infrastructure components.

Resolution

Waiting for Apache Spark and Hadoop to officially support jackson-core 2.13.0+ in future releases.

References

jackson-core upgrade to 2.13.0+ requires incompatible Hadoop infrastructure
changes including DynConstructors utility class. Waiting for Apache Spark
and Hadoop to officially support jackson-core 2.13.0+ in future releases.
@jamie-albert jamie-albert requested a review from a team June 11, 2025 22:42
@AmberArcadia AmberArcadia added this pull request to the merge queue Jun 11, 2025
Merged via the queue into wolfi-dev:main with commit f2df538 Jun 11, 2025
3 checks passed
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.

2 participants