Repository navigation
DLPX-101138 Close the remaining Mend gaps in the image SBOM: bundled binaries, host-jdks contents and Ubuntu package vulnerabilities - #438
Open
suyash-jai wants to merge 1 commit into
Conversation
suyash-jai
force-pushed
the
dlpx/pr/suyash-jai/1d50df5c-a5c3-430c-b869-d46a6dc652da
branch
from
November 26, 2026 09:01
90fd4ed to
d36539b
Compare
suyash-jai
force-pushed
the
dlpx/pr/suyash-jai/1d50df5c-a5c3-430c-b869-d46a6dc652da
branch
from
November 26, 2026 10:28
d36539b to
1e88005
Compare
This was referenced Nov 26, 2026
suyash-jai
marked this pull request as ready for review
November 30, 2026 05:26
sebroy
requested changes
Dec 1, 2026
Comment on lines
+101
to
+103
| reidentify("7-Zip"; cpe("7-zip"; "7-zip"); "pkg:conan/7zip@\(.version)") | ||
| elif .name == "The OpenSSL Toolkit" then | ||
| reidentify("OpenSSL"; cpe("openssl"; "openssl"); "pkg:conan/openssl@\(.version)") |
Contributor
There was a problem hiding this comment.
We do not include the Conan distribution of these components. The Conan distributions and the Ubuntu distributions are different. They are not the same binary artifacts.
Contributor
Author
There was a problem hiding this comment.
Agreed, a pkg:conan purl would claim Conan's build. Removed in 95b255a: OpenSSL and 7-Zip now get no purl, like stunnel, only their corrected names and CPEs (openssl:openssl, 7-zip:7-zip). Mend won't identify them, but the SBOM describes them accurately.
suyash-jai
force-pushed
the
dlpx/pr/suyash-jai/1d50df5c-a5c3-430c-b869-d46a6dc652da
branch
from
December 2, 2026 06:27
1e88005 to
95b255a
Compare
Base automatically changed from
dlpx/pr/suyash-jai/e96b5a6a-0495-46cc-8894-21b37b93a7fb
to
develop
December 2, 2026 06:27
…binaries, host-jdks contents and Ubuntu package vulnerabilities PR URL: https://www.github.com/delphix/linux-pkg/pull/438 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
suyash-jai
force-pushed
the
dlpx/pr/suyash-jai/1d50df5c-a5c3-430c-b869-d46a6dc652da
branch
from
December 2, 2026 06:29
95b255a to
030b4a9
Compare
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.
Summary
Two changes, both so that the SBOM lists third-party software it misses today:
resources/sanitize-sbom.jq): describes the third-party programs that Syft's binary cataloger finds inside packages as libraries with correct identifiers.packages/host-jdks/config.sh): setsSBOM_DEEP_SCAN="true", so the package SBOM reads the list of JDKs that DLPX-101295 host-jdks: ship a CycloneDX list of the bundled JDKs for the package SBOM host-jdks#68 makes the package ship.The third part of DLPX-101138, how Ubuntu packages are covered, needs no code.
Stacked on #437, which changes the same file; this PR shows only its own commit.
The problem
Syft types the programs it finds by their version banners "application". Mend's importer skips that type ("Unsupported component type: APPLICATION skipping component"), so these components never reach Mend. For two of them, Syft also builds the name and CPE from the banner (
The OpenSSL Toolkit,stunnel 5.77 for x64-pc-mingw32-gnu), which gives CPEs no vulnerability database knows.What Mend identifies
Small test SBOMs with OpenSSL 3.5.5, 7-Zip 26.02, stunnel 5.77, Node.js 24.22.3 and two JDKs, each typed "library", were imported into Mend, one project per form:
pkg:generic+ CPEpkg:github+ CPEpkg:conan+ CPEMend ignores the CPE whenever a purl is present, and supports neither
pkg:genericnorpkg:github. Apkg:conanpurl is not used, though: it would say these are Conan's builds, and they are not the same binaries (review). So these components get no purl, only a correct CPE, and Mend does not identify them; the SBOM still lists them accurately.The change
7-Zip26.02, application, no purlcpe:2.3:a:7-zip:7-zip:26.02The OpenSSL Toolkit3.5.5, applicationOpenSSL,cpe:2.3:a:openssl:openssl:3.5.5stunnel 5.77 for x64-pc-mingw32-gnu, applicationstunnel,cpe:2.3:a:stunnel:stunnel:5.77bash,jq,node,rust, application withpkg:genericpurl and a correct CPEFor the three renamed components, Syft's candidate CPEs (
syft:cpe23) are dropped, since they were all derived from the wrong name.Mend cannot identify any of these, but the SBOM lists them correctly for any other consumer, and for comparing it with the CSV BOM.
Left as Syft found them: Delphix's own
getpidsanddlpxrunas, andcli*/gui*,libssp-0andmssql-jdbc_auth, whose origin is not confirmed here.JDKs in host-jdks
The package holds seven JDK archives, which no scanner opens, so the image SBOM lists only
host-jdksitself. delphix/host-jdks#68 adds/usr/share/host-jdks/host-jdks.cdx.json, listing each JDK (Eclipse Temurin 17.0.21.1+2 for Linux and Windows, 17.0.20.1+1 for AIX, OpenJDK 17.0.21.1 for Solaris) with version, CPE and SHA-256. With deep scanning on, Syft's sbom-cataloger reads it in.That cataloger is added by #422; until #422 merges, deep-scanning host-jdks finds nothing beyond what it finds today. #423 restores the archives' SHA-256s, which Syft drops, by purl.
Testing
Applied to the internal-dev image SBOM of pre-push #8308, compared with the output of #437's version of the filter:
cyclonedx-cli validate(CycloneDX 1.6).Pre-push #16121, with this PR (so #437), #423 and delphix/host-jdks#68 on develop (which has #422), succeeded:
pkg:conanpurls since removed; the output was re-checked withjqon the same image SBOM and validates); bash, jq and node are libraries.rustis still "application": delphix-rust was not rebuilt in this run, so the image used its existing package SBOM. It changes with delphix-rust's next build.Related
Jira: DLPX-101138 (epic CP-13455).
🤖 Generated with Claude Code