spark-3.5: mark jackson-core GHSA-wf8f-6423-gfxg as pending-upstream-fix #19330
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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._appendSourceDescmethod, 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:
org.apache.hadoop.util.dynamic.DynConstructorsutility classNetUtils,WebHdfsFileSystem)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