Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25620

Publish an SBOM of the XWiki WAR with each release

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • 18.10.0-rc-1
    • 17.10.14
    • Distribution
    • None
    • Unknown

    Description

      Users want to check whether a given XWiki version is affected by a CVE without reverse-engineering the WAR. Scanning the WAR is not enough: running Syft on an 18.9 WAR finds 836 Maven components but 0 npm ones, no XARs and no dependency graph.

      Proposal

      Publish, with each release, the SBOM of the XWiki WAR describing the running product:

      • what the WAR contains, including the npm packages bundled in webjars and the npm identity of third-party webjars;
      • the XARs installed by the flavor on first start;
      • but not what the servlet container provides.

      Also:

      • Add a check, run by the TestRelease CI job, verifying that the WAR SBOM contains the expected pkg:npm purls, so that a regression in the JavaScript part is caught.
      • Link the WAR SBOM from the download page and from the release notes.

      Design: https://design.xwiki.org/xwiki/bin/view/Proposal/SBOMPerRelease
      Forum: https://forum.xwiki.org/t/publishing-an-sbom-with-every-xwiki-release/18996

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: