-
Notifications
You must be signed in to change notification settings - Fork 415
apache-nifi/2.7.2-r0: cve remediation #76574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
apache-nifi/2.7.2-r0: cve remediation #76574
Conversation
<!--ci-cve-scan:must-fix: GHSA-x44p-gvrj-pj2r-->
67740a5 to
f1af175
Compare
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍Git cherry-pick operation failed due to merge conflicts in pom.xml when attempting to apply commit 3c52bed1b42a2386eae5fd56a9dc432c6ea8fe53 from the main branch. The cherry-pick was part of applying security patches during the git checkout step, but the changes could not be automatically merged due to conflicting content in the pom.xml file. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Suggested ChangesFile: Melange YAML pipeline
Replacement: Content:
Content: Click to expand fix analysisAnalysisNo similar build failures were provided for analysis. However, based on the git cherry-pick merge conflict in pom.xml, this is a common issue when applying security patches to Maven projects. The conflict typically occurs when the target branch has different dependency versions or XML structure than the source commit being cherry-picked. Click to expand fix explanationExplanationThe git cherry-pick is failing because there are conflicts in the pom.xml file when trying to apply the S3 Encryption Client upgrade commit. Instead of cherry-picking, we can achieve the same security fix by manually updating the AWS S3 SDK version from 3.6.0 to 4.0.0 using sed commands. This approach avoids merge conflicts while still addressing the security vulnerability (GHSA-x44p-gvrj-pj2r). The manual approach searches for AWS S3 SDK version references in all pom.xml files and updates them to the secure version, which is the core purpose of the original commit. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
…eam patch Signed-off-by: Ankush Pathak <ankush.pathak@chainguard.dev>
f1af175 to
771e7ad
Compare
apache-nifi/2.7.2-r0: fix GHSA-x44p-gvrj-pj2r
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/apache-nifi.advisories.yaml
"Breadcrumbs" for this automated service
Inspected git repositories: https://github.com/apache/nifi@rel/nifi-2.7.2