Update dependencies for EU CRA fix#30
Open
zahidblackduck wants to merge 6 commits into
Open
Conversation
dterrybd
reviewed
May 21, 2026
| destFile = project.file("${buildDir}/images/${linuxFlavorDirName}/${appName}/Dockerfile") | ||
| logger.lifecycle("destFile: ${destFile}") | ||
| from linuxFlavor | ||
| from 'artifactory.tools.duckutil.net:5010/blackduck.com/chainguard-base:latest' |
There was a problem hiding this comment.
The other changes seem fine to me, this one might be too, but I'm wondering if it has been tested further up before we merge to master. For example, do we know that the chainguard move works in hub-image inspector and better yet, in docker inspector?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
JIRA Ticket
IDETECT-5086
Depends on the pull request blackducksoftware/hub-imageinspector-lib#40
Description
This pull request changes
alpine:3.23image tochainguard-base:latestAdditionally, this pull request bumps
hub-imageinspector-libversion to15.0.5. Thehub-imageinspector-lib:15.0.5pullsintegration-bdio:27.0.5which in turn pullsintegration-common:27.0.4which updates transitive dependenciesjson-pathfrom2.9.0to2.10.0to resolve a transitive vulnerable dependency as part of the EU CRA compliance effort.json-path:2.9.0pulls injson-smart:2.5.0, which carries CVE-2024-57699 (BDSA-2025-0966).This update transitively brings in
json-smart:2.6.0, which is free of this vulnerability, and thus the safe version flows to all downstream consumers automatically.Another updated dependency is
com.fasterxml.jackson:jackson-bom:2.18.6And, the following overrides were applied,
Notes
The
io.spring.dependency-managementplugin imports a Spring Boot BOM, which manages versions for common libraries (json-path,json-smart,jackson, etc.). BOM managed versions take precedence over both gradle constraints blocks andresolutionStrategy.force()directives, silently downgrading explicitly pinned versions.So, every project that imports a Spring Boot BOM must independently override the BOM properties for any dependency it needs at a different version.
That's why
json-smartandjson-pathoverrides were applied and Jackson BOM upgraded from2.12.4to2.18.6in thedependencyManagementblock to avoid this problem.