Skip to content

Map conda-forge packages that had no PURL or CPE for advisory matching - #446

Merged
wolfv merged 2 commits into
mainfrom
map-governed-unmeasured
Nov 26, 2026
Merged

wolfv merged 2 commits into
mainfrom
map-governed-unmeasured

Conversation

@wolfv

@wolfv wolfv commented Nov 25, 2026

Copy link
Copy Markdown
Member

Gives upstream identities to 38 conda-forge packages that Basilisk could not check against advisories because they had no primary PURL and no CPE. They come from a customer's list of governed packages that Basilisk could not evaluate. Automap had left all of them at "heuristics did not recognise any source URL".

PURLs from the recipe's source (36 packages). Each comes from the source URL in the recipe, and I confirmed each repository exists.

  • 16 X.Org libraries (xorg-libx11 … xorg-libxxf86vm) and libpciaccess → pkg:git/gitlab.freedesktop.org/xorg/lib/<lib>. xorg-xorgproto → …/xorg/proto/xorgproto.
  • libdrm → pkg:git/gitlab.freedesktop.org/mesa/libdrm. The recipe's mesa/drm path now redirects there.
  • libegl, libegl-devel, libgl, libgl-devel, libglvnd, libglx and libglx-devel are outputs of one source archive, so all map to pkg:git/gitlab.freedesktop.org/glvnd/libglvnd. None gets a CPE, and the empty CPE list reviewed for libglx stays as it is.
  • gtk3 → pkg:git/gitlab.gnome.org/GNOME/gtk, as reviewed for gtk2. libgirepository → …/GNOME/gobject-introspection, as reviewed for g-ir-build-tools.
  • gsl and libiconv → pkg:git/git.savannah.gnu.org/<name>, following the reviewed groff mapping. mpc → pkg:git/gitlab.inria.fr/mpc/mpc.
  • libgdal-core → pkg:github/osgeo/gdal; proj → pkg:github/osgeo/proj.

CPEs, only where NVD has CVEs filed under them. I checked each CPE against the NVD CVE API on 2026-11-25. Many X11 library CVEs are filed under vendor x rather than x.org, so some libraries get both:

  • 13 X.Org libraries, for example x.org:libx11 (15 CVEs) plus x:libx11 (3), and x.org:libxpm (5).
  • gtk3 → gnome:gtk (15); gsl → gnu:gnu_scientific_library (2); libgdal-core → gdal:gdal, as reviewed for libgdal.
  • libgcrypt-lib → gnupg:libgcrypt and libintl → gnu:gettext, the same CPEs reviewed for their siblings libgcrypt and gettext.
  • mkl → intel:oneapi_math_kernel_library (7) and intel:math_kernel_library (1).

CPEs that match no CVEs are left out. The contribution's source field lists every count and the zero-CVE CPEs I rejected.

Reviewed "no PURL" (2 packages). fonts-conda-forge and python-gil contain no files and only depend on other packages, so they are dependency_only_metapackage like the existing fonts-conda-ecosystem entry.

Left out of this PR:

  • Waiting on a decision: libpq and mysql-libs, whose only CPEs are the full server products; 11 CUDA redist libraries, whose only CPE is nvidia:cuda_toolkit; 6 Intel runtimes; and the MSVC runtimes ucrt, vc14_runtime and vcomp14.
  • No upstream identity worth forcing: fonts, icon themes, license-only packages, and glpk, libgpg-error, libmpdec, jxrlib, xmlstarlet, gts, dsdp, libcudnn, cusparselt and libnvshmem3.

mappings:merge (into a temporary directory), mappings:validate and mappings:test all pass. The regenerated public payloads are not committed.

Gives upstream identities to 36 conda-forge packages that had no primary
PURL or CPE (X.Org libraries, libglvnd outputs, libdrm, gtk3,
libgirepository, gsl, libiconv, mpc, libgcrypt-lib, libintl,
libgdal-core, proj, mkl), and records fonts-conda-forge and python-gil
as dependency-only metapackages.

Amp-Thread-ID: https://ampcode.com/threads/T-7344fe1f-bb9f-48a2-b399-2bbed42042fb
@wolfv
wolfv merged commit 6c0a009 into main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant