<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Container scan matches Debian and Ubuntu packages against every Ubuntu release&#x27;s USN advisories]]></title><description><![CDATA[<p dir="auto"><strong>Summary</strong></p>
<p dir="auto">The package list from a container scan carries no distro or release, e.g.<br />
<code>pkg:deb/apt@2.6.1?arch=amd64</code> (no <code>distro=debian-12</code> qualifier). Every <code>pkg:deb</code> package then<br />
appears to be compared, by version string only, against the USN records of <strong>all</strong> Ubuntu<br />
releases. The result is:</p>
<ol>
<li><strong>Debian images are matched only against Ubuntu data.</strong> PGVD does hold Debian advisories<br />
(e.g. <code>debian/openssl</code> source for bookworm/trixie), but none of them are ever matched.</li>
<li><strong>Ubuntu images get records from other Ubuntu releases.</strong> A 22.04 (jammy) image is flagged with<br />
the 24.04 (noble) and 26.04 (resolute) records of the same USN, whose fixed versions it can<br />
never reach.</li>
</ol>
<p dir="auto"><strong>Example: USN-8996-1 (APT), one advisory = three PGV records</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>PGV</th>
<th>OVAL source</th>
<th>Affects</th>
</tr>
</thead>
<tbody>
<tr>
<td>PGV-268161R</td>
<td><code>oval:com.ubuntu.jammy:def:8996…</code></td>
<td>apt &lt; 2.4.15ubuntu0.1</td>
</tr>
<tr>
<td>PGV-268161W</td>
<td><code>oval:com.ubuntu.noble:def:8996…</code></td>
<td>apt &lt; 2.8.4ubuntu0.1</td>
</tr>
<tr>
<td>PGV-268162A</td>
<td><code>oval:com.ubuntu.resolute:def:8996…</code></td>
<td>apt &lt; 3.2.1ubuntu0.1</td>
</tr>
</tbody>
<tbody>
<tr>
<td>Image</td>
<td>OS (from <code>base-files</code>)</td>
<td>apt in image</td>
<td>Records matched</td>
</tr>
<tr>
<td>---</td>
<td>---</td>
<td>---</td>
<td>---</td>
</tr>
<tr>
<td><code>bitnami/redis:7.4.1-debian-12-r2</code></td>
<td>Debian 12 (<code>12.4+deb12u8</code>)</td>
<td><code>2.6.1</code></td>
<td>268162A, 268161W</td>
</tr>
<tr>
<td><code>envoyproxy/envoy:v1.33.1</code></td>
<td>Ubuntu 22.04 (<code>12ubuntu4.7</code>)</td>
<td><code>2.4.13</code></td>
<td>268162A, 268161W, 268161R</td>
</tr>
</tbody>
</table>
<ul>
<li>For the Debian image, the verdict comes from Ubuntu's fixed versions, not from Debian's. Whether<br />
bookworm's apt is actually affected or already fixed is not considered.</li>
<li>For the jammy image, only PGV-268161R applies. The noble and resolute records would stay "open"<br />
even after apt is upgraded to the jammy fix (2.4.15ubuntu0.1), because that version is still<br />
below 2.8.4ubuntu0.1 and 3.2.1ubuntu0.1.</li>
</ul>
<p dir="auto"><strong>Scale</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Image</th>
<th>Packages</th>
<th>Vulnerability records</th>
<th>Distinct CVEs</th>
<th>Records that are USN</th>
</tr>
</thead>
<tbody>
<tr>
<td>bitnami/redis (Debian 12)</td>
<td>101 deb</td>
<td>253</td>
<td>136</td>
<td>253 (100%)</td>
</tr>
<tr>
<td>bitnami/grafana (Debian 12)</td>
<td>125 deb</td>
<td>385</td>
<td>199</td>
<td>385 (100%)</td>
</tr>
<tr>
<td>golang:1.23 (Debian 12)</td>
<td>205 deb</td>
<td>451</td>
<td>230</td>
<td>451 (100%)</td>
</tr>
<tr>
<td>envoy (Ubuntu 22.04)</td>
<td>103 deb</td>
<td>363</td>
<td>165</td>
<td>363 (100%)</td>
</tr>
</tbody>
</table>
<p dir="auto">Not a single DSA/DLA record was matched on any Debian image. A single USN typically yields 6–8<br />
records on one image (one per Ubuntu release). This is also the main source of the duplicate counts<br />
mentioned in our other post.</p>
<p dir="auto"><strong>Expected</strong></p>
<ul>
<li>Detect the distro and release from the image (<code>/etc/os-release</code>), as other container scanners do,<br />
and record it in the purl (<code>?distro=debian-12</code> / <code>ubuntu-22.04</code>).</li>
<li>Match Debian packages against Debian advisories (by source package and release). Match Ubuntu<br />
packages only against the USN records for that image's release.</li>
</ul>
<p dir="auto"><strong>Related coverage questions (same images)</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Image</th>
<th>Result</th>
<th>Question</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>goharbor/harbor-core:v2.12.2</code> (Photon OS 5)</td>
<td>48 <code>pkg:rpm</code> packages, 0 vulnerabilities</td>
<td>PGVD'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?</td>
</tr>
<tr>
<td><code>quay.io/cryostat/cryostat:3.0.1</code> (UBI 8)</td>
<td>0 packages</td>
<td>Is the UBI 8 / RHEL 8 rpm database (Berkeley DB format) read? Photon's rpm DB is read fine.</td>
</tr>
</tbody>
</table>
<hr />
<p dir="auto"><strong>Subject: No way to look up a vulnerability by CVE ID</strong></p>
<p dir="auto">ProGet 2026.2 (Build 16) and 2026.14 (Build 11), Enterprise.</p>
<p dir="auto">The common workflow is: a security team circulates a CVE ID, and we need to answer<br />
"are we affected, and where?". ProGet holds exactly that answer — the vulnerability<br />
detail page has an <strong>Impacted Containers</strong> table listing feed, repository, image<br />
digest and download count, which is excellent. But we can only reach that page if<br />
we already know the PGV ID, and nothing we have found maps a CVE to a PGV.</p>
<p dir="auto">What we tried:</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Attempt</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>/vulnerabilities/vulnerability?vulnerabilityId=CVE-2024-3094</code></td>
<td>renders "not found"</td>
</tr>
<tr>
<td><code>/vulnerabilities?search=</code> / <code>?q=</code> / <code>?cve=</code></td>
<td>no filtering (or HTTP 500)</td>
</tr>
<tr>
<td><code>security.inedo.com/vulnerability/search?search=CVE-2024-3094</code></td>
<td>0 results</td>
</tr>
<tr>
<td><code>security.inedo.com/vulnerability/search?search=PGV-2423510</code></td>
<td>1 result (works)</td>
</tr>
</tbody>
</table>
<p dir="auto">So lookup works by PGV ID only. The CVE is not shown anywhere on ProGet's own<br />
vulnerability detail page either — <code>PGV-2423510</code>'s page contains no <code>CVE-…</code> string<br />
at all, although the Inedo Security Labs page for the same PGV does show<br />
<code>CVE-2024-3094</code>, and the containers audit API returns a <code>cve</code> field per<br />
vulnerability.</p>
<p dir="auto">So the data exists on both sides; only the lookup path is missing.</p>
<p dir="auto"><strong>Requests</strong></p>
<ol>
<li>Allow <code>vulnerabilityId=</code> (or a search box on Vulnerabilities Identified) to<br />
accept a CVE ID and resolve it to the matching PGV record(s).</li>
<li>Display the CVE ID(s) on the vulnerability detail page, so the PGV record can at<br />
least be cross-referenced manually.</li>
<li>Allow searching by CVE on Inedo Security Labs.</li>
</ol>
<p dir="auto">Without these, answering "does CVE-X affect us?" requires enumerating every PGV<br />
record and resolving each one individually, which is a lot of work for what the<br />
product already knows.</p>
<hr />
<p dir="auto"><strong>Documentation defect — audit API parameters</strong></p>
<p dir="auto">The Containers API page documents the audit endpoint as:</p>
<pre><code>/api/containers/images/audit?feed=docker-internal&amp;repo=nginx&amp;tag=1.28
</code></pre>
<p dir="auto">That returns <code>400 Missing query string argument: tagOrDigest</code>. The working form is<br />
<code>feed</code> + <code>tagOrDigest</code>:</p>
<pre><code>/api/containers/images/audit?feed=&lt;feed&gt;&amp;tagOrDigest=&lt;repo&gt;:&lt;tag&gt;
</code></pre>
<p dir="auto">Also worth documenting: the repository name must have the feed prefix stripped.<br />
<code>/v2/_catalog</code> returns names like <code>myfeed/base/nginx</code>, and passing that unchanged<br />
also returns <code>400</code>; it has to be <code>base/nginx:&lt;tag&gt;</code>.</p>
<hr />
<p dir="auto"><strong>Question — collapsing duplicate vulnerability records</strong></p>
<p dir="auto">Auditing one container image returned <strong>583 vulnerability records covering 130<br />
distinct CVEs</strong>, apparently one record per advisory per distribution release — for<br />
example CVE-2026-109518 appears three times, each citing a different Ubuntu<br />
release's fixed version.</p>
<p dir="auto">Each advisory being its own record may well be by design. The practical question is<br />
whether there is a supported deduplicated view, in the API or as a grouping on the<br />
Vulnerabilities Identified page. Today any count taken from that page overstates<br />
exposure by roughly 4.5x unless the consumer deduplicates on <code>cve</code> themselves.</p>
]]></description><link>https://forums.inedo.com/topic/5884/container-scan-matches-debian-and-ubuntu-packages-against-every-ubuntu-release-s-usn-advisories</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Dec 2026 12:14:14 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5884.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Dec 2026 05:48:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Container scan matches Debian and Ubuntu packages against every Ubuntu release&#x27;s USN advisories on Wed, 02 Dec 2026 09:37:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/thitlongiacay" aria-label="Profile: ThitLonGiaCay">@<bdi>ThitLonGiaCay</bdi></a> ,</p>
<p dir="auto">Regarding CVE searching, the search you identified (<code>security.inedo.com/vulnerability/search?search=CVE-2024-3094</code>) will yield 4 results now. It's not possible to search by CVE in ProGet, however.</p>
<p dir="auto">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:</p>
<ol>
<li>ProGet does not "know" which distro a container is using</li>
<li>Our Vulnerability records don't identify the distro they apply to</li>
</ol>
<p dir="auto">Therefore, there will be a lot of false positives until then.</p>
<p dir="auto">This limitation also applies to feeds. For example, Looking at <a href="https://security.inedo.com/vulnerability/details/PGV-265533M" rel="nofollow ugc">PGV-265533M</a>, we can see that <code>samba-libs, versions &lt; 2:4.23.6+dfsg-1ubuntu2.2</code> is impacted, which means all versions less than <code>2:4.23.6+dfsg-1ubuntu2.2</code>. This information comes from the upstream provider (Ubuntu) via <code>USN-8621-1</code>.</p>
<p dir="auto">Per Debian's <a href="https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-version" rel="nofollow ugc">version number specifications</a>, the version string <code>2:4.19.5+dfsg-4ubuntu9.8</code> is indeed <em>less than</em> <code>2:4.23.6+dfsg-1ubuntu2.2</code> and thus it's considered impacted.</p>
<p dir="auto">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 <code>samba-libs 2:4.19.5+dfsg-4ubuntu9.8</code>, even though it's matched by the version range.</p>
<p dir="auto">Thanks,<br />
Alana</p>
]]></description><link>https://forums.inedo.com/post/20256</link><guid isPermaLink="true">https://forums.inedo.com/post/20256</guid><dc:creator><![CDATA[atripp]]></dc:creator><pubDate>Wed, 02 Dec 2026 09:37:39 GMT</pubDate></item></channel></rss>