Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Container scan matches Debian and Ubuntu packages against every Ubuntu release's USN advisories
-
Summary
The package list from a container scan carries no distro or release, e.g.
pkg:deb/apt@2.6.1?arch=amd64(nodistro=debian-12qualifier). Everypkg:debpackage then
appears to be compared, by version string only, against the USN records of all Ubuntu
releases. The result is:- Debian images are matched only against Ubuntu data. PGVD does hold Debian advisories
(e.g.debian/opensslsource for bookworm/trixie), but none of them are ever matched. - Ubuntu images get records from other Ubuntu releases. A 22.04 (jammy) image is flagged with
the 24.04 (noble) and 26.04 (resolute) records of the same USN, whose fixed versions it can
never reach.
Example: USN-8996-1 (APT), one advisory = three PGV records
PGV OVAL source Affects PGV-268161R oval:com.ubuntu.jammy:def:8996…apt < 2.4.15ubuntu0.1 PGV-268161W oval:com.ubuntu.noble:def:8996…apt < 2.8.4ubuntu0.1 PGV-268162A oval:com.ubuntu.resolute:def:8996…apt < 3.2.1ubuntu0.1 Image OS (from base-files)apt in image Records matched --- --- --- --- bitnami/redis:7.4.1-debian-12-r2Debian 12 ( 12.4+deb12u8)2.6.1268162A, 268161W envoyproxy/envoy:v1.33.1Ubuntu 22.04 ( 12ubuntu4.7)2.4.13268162A, 268161W, 268161R - For the Debian image, the verdict comes from Ubuntu's fixed versions, not from Debian's. Whether
bookworm's apt is actually affected or already fixed is not considered. - For the jammy image, only PGV-268161R applies. The noble and resolute records would stay "open"
even after apt is upgraded to the jammy fix (2.4.15ubuntu0.1), because that version is still
below 2.8.4ubuntu0.1 and 3.2.1ubuntu0.1.
Scale
Image Packages Vulnerability records Distinct CVEs Records that are USN bitnami/redis (Debian 12) 101 deb 253 136 253 (100%) bitnami/grafana (Debian 12) 125 deb 385 199 385 (100%) golang:1.23 (Debian 12) 205 deb 451 230 451 (100%) envoy (Ubuntu 22.04) 103 deb 363 165 363 (100%) Not a single DSA/DLA record was matched on any Debian image. A single USN typically yields 6–8
records on one image (one per Ubuntu release). This is also the main source of the duplicate counts
mentioned in our other post.Expected
- Detect the distro and release from the image (
/etc/os-release), as other container scanners do,
and record it in the purl (?distro=debian-12/ubuntu-22.04). - Match Debian packages against Debian advisories (by source package and release). Match Ubuntu
packages only against the USN records for that image's release.
Related coverage questions (same images)
Image Result Question goharbor/harbor-core:v2.12.2(Photon OS 5)48 pkg:rpmpackages, 0 vulnerabilitiesPGVD's RPM data appears to be RHSA only. Is Photon OS supported? If not, can the image be marked "OS not covered" instead of showing as clean? quay.io/cryostat/cryostat:3.0.1(UBI 8)0 packages Is the UBI 8 / RHEL 8 rpm database (Berkeley DB format) read? Photon's rpm DB is read fine.
Subject: No way to look up a vulnerability by CVE ID
ProGet 2026.2 (Build 16) and 2026.14 (Build 11), Enterprise.
The common workflow is: a security team circulates a CVE ID, and we need to answer
"are we affected, and where?". ProGet holds exactly that answer — the vulnerability
detail page has an Impacted Containers table listing feed, repository, image
digest and download count, which is excellent. But we can only reach that page if
we already know the PGV ID, and nothing we have found maps a CVE to a PGV.What we tried:
Attempt Result /vulnerabilities/vulnerability?vulnerabilityId=CVE-2024-3094renders "not found" /vulnerabilities?search=/?q=/?cve=no filtering (or HTTP 500) security.inedo.com/vulnerability/search?search=CVE-2024-30940 results security.inedo.com/vulnerability/search?search=PGV-24235101 result (works) So lookup works by PGV ID only. The CVE is not shown anywhere on ProGet's own
vulnerability detail page either —PGV-2423510's page contains noCVE-…string
at all, although the Inedo Security Labs page for the same PGV does show
CVE-2024-3094, and the containers audit API returns acvefield per
vulnerability.So the data exists on both sides; only the lookup path is missing.
Requests
- Allow
vulnerabilityId=(or a search box on Vulnerabilities Identified) to
accept a CVE ID and resolve it to the matching PGV record(s). - Display the CVE ID(s) on the vulnerability detail page, so the PGV record can at
least be cross-referenced manually. - Allow searching by CVE on Inedo Security Labs.
Without these, answering "does CVE-X affect us?" requires enumerating every PGV
record and resolving each one individually, which is a lot of work for what the
product already knows.
Documentation defect — audit API parameters
The Containers API page documents the audit endpoint as:
/api/containers/images/audit?feed=docker-internal&repo=nginx&tag=1.28That returns
400 Missing query string argument: tagOrDigest. The working form is
feed+tagOrDigest:/api/containers/images/audit?feed=<feed>&tagOrDigest=<repo>:<tag>Also worth documenting: the repository name must have the feed prefix stripped.
/v2/_catalogreturns names likemyfeed/base/nginx, and passing that unchanged
also returns400; it has to bebase/nginx:<tag>.
Question — collapsing duplicate vulnerability records
Auditing one container image returned 583 vulnerability records covering 130
distinct CVEs, apparently one record per advisory per distribution release — for
example CVE-2026-109518 appears three times, each citing a different Ubuntu
release's fixed version.Each advisory being its own record may well be by design. The practical question is
whether there is a supported deduplicated view, in the API or as a grouping on the
Vulnerabilities Identified page. Today any count taken from that page overstates
exposure by roughly 4.5x unless the consumer deduplicates oncvethemselves. - Debian images are matched only against Ubuntu data. PGVD does hold Debian advisories
-
Hi @ThitLonGiaCay ,
Regarding CVE searching, the search you identified (
security.inedo.com/vulnerability/search?search=CVE-2024-3094) will yield 4 results now. It's not possible to search by CVE in ProGet, however.Otherwise, the "distro + vulnerability" is a known limitation. It's something we intend to address in ProGet 2027. I think the underlying issue is two fold:
- ProGet does not "know" which distro a container is using
- Our Vulnerability records don't identify the distro they apply to
Therefore, there will be a lot of false positives until then.
This limitation also applies to feeds. For example, Looking at PGV-265533M, we can see that
samba-libs, versions < 2:4.23.6+dfsg-1ubuntu2.2is impacted, which means all versions less than2:4.23.6+dfsg-1ubuntu2.2. This information comes from the upstream provider (Ubuntu) viaUSN-8621-1.Per Debian's version number specifications, the version string
2:4.19.5+dfsg-4ubuntu9.8is indeed less than2:4.23.6+dfsg-1ubuntu2.2and thus it's considered impacted.Since ProGet does not know which distribution/version (i.e. ubuntu 23.04 vs ubuntu 24.10 vs debian trixie) your feed is intended for. Moreover, our vulnerabilities do not have that information either. As such, there's no way to know that PGV-265533M should be ignored for
samba-libs 2:4.19.5+dfsg-4ubuntu9.8, even though it's matched by the version range.Thanks,
Alana
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login