Skip to main content

CSAF Export & Publishing

The Common Security Advisory Framework (CSAF) is the modern standard for machine-readable vulnerability advisories. Exporting and publishing your vulnerability data in CSAF format is increasingly becoming a mandate for regulatory compliance, including under the Cyber Resilience Act (CRA), as it enables automated ingestion and analysis by downstream consumers and ecosystem partners. The CVD Portal generates and serves CSAF documents for your published advisories. CSAF export requires the Reporting plan or higher.

When you publish a security advisory, the portal serves it as a CSAF 2.0 document with the csaf_vex profile. The document comes from the advisory record. It holds the title, the summary, the affected product, the fixed version, the severity, the CVE identifier and, when the researcher agreed, the researcher credit. You can also download a CSAF document with the csaf_security_advisory profile for one submission from the submission page. It names the product linked to the report, or the reported product name when no product is linked. An open report is marked known affected and a resolved report is marked fixed.

Your customers and partners can read these documents with their own security tools. The portal hosts the documents on your portal host. It does not publish them to other servers or content delivery networks.

Product identifiers for asset tools​

Link the advisory to a product so that the asset tools of your customers can match it to installed devices. These tools match on part numbers, CPE and purl, never on a product name.

  1. Open the submission and go to the Public Advisory panel.
  2. Select the product in Product identifiers in the CSAF. A new draft starts with the product linked to the report.
  3. Save or publish the advisory.

The CSAF document then lists one product for each part number of that product. Each one has the part number in model_numbers, and the CPE and purl of the part when they are valid. The status and the remediations name every part. The OpenVEX document lists the same parts, with the purl and CPE as identifiers. Add the part numbers on the product page first. A product with no part numbers gives one product with no identifiers.

The advisory names every part number of the product, end-of-life parts included. If only some parts are affected, the advisory is not the right place for the difference. Use a VEX statement on the trust portal for that.

Changing the product of a published advisory makes a new version and a new revision. An advisory with no product stays as it was.

Where your CSAF documents are published​

Your portal serves a complete CSAF 2.0 directory-based distribution.

  • /.well-known/csaf/provider-metadata.json is the entry point, and the URL your security.txt CSAF field advertises
  • /.well-known/csaf/white/index.txt lists every published document
  • /.well-known/csaf/white/changes.csv lists them again with their last change date, newest first
  • /.well-known/csaf/white/<year>/<advisory-ref>.json is a single advisory
  • /.well-known/csaf/white/<year>/cvd-vex-<product-id>.json is the VEX document of a product, when an admin published it
  • /.well-known/csaf/white/ and /.well-known/csaf/white/<year>/ are directory listings, so you can browse the feed
  • <file>.json.sha256 and <file>.json.sha512 next to each document hold its hash. A tool that downloads the document can check that it arrived unchanged, for example with sha256sum -c
  • <file>.json.asc next to each document is its OpenPGP signature. The public key is at /.well-known/csaf/openpgp/<fingerprint>.asc, and provider-metadata.json names it. A tool can check that the document comes from the portal, for example with gpg --verify <file>.json.asc <file>.json

Signed documents​

The portal signs each document in the CSAF feed with one OpenPGP key, "CVD Portal CSAF Signing", for all portals. The feed then has the CSAF trusted provider role, and CSAF tools can check that a document was not changed after the portal published it. The signature shows that the portal published the document. The document itself names your company as the publisher. If your company needs its own signing key, contact support.

Product VEX documents in the CSAF feed​

The product VEX document states, for each vulnerability in the SBOM of a product, if the product is affected. It names the part numbers, CPE and purl of the product. Publish it in your CSAF feed so that the asset tools of your customers read it with no sign-in and match it to installed devices.

  1. Open the product and go to Operate, step Updates, section SBOM findings and VEX.
  2. Select Publish in the CSAF feed.
  3. Read how many vulnerabilities the document names as affected or under investigation, then select Publish. The count includes the SBOM findings and your VEX statements.

The document is then in index.txt and changes.csv, and each change of a VEX status makes a new version. An admin publishes it, on the Reporting plan or higher. It is off for each product until an admin turns it on, and a test product cannot go in the feed.

The document names each known vulnerability that is affected, under investigation, or has no VEX status yet. Anyone can then read which known vulnerabilities have no fix yet. Give each finding a VEX status before you publish. Select Remove from the CSAF feed to take the document out. In changes.csv the date of a newly published document is the publish time, if the document itself is older. A partner client sees no address in the dashboard until its own domain is verified. A copy that a proxy or an aggregator stored can stay available for up to one hour.

Document versions​

Each CSAF and OpenVEX document has a version number. The version increases by one each time the content of the document changes. It never goes down. Version 1 is the published advisory. Each later version adds an entry to the revision history of the CSAF document, and in the OpenVEX document it changes version and last_updated.

The portal compares the content each time it serves a document. A change that a reader can see makes a new version, for example a new fixed version, a new summary or a CVE identifier. An edit that changes no content, such as a translation of the advisory page, does not make a new version. A change to how the portal writes the documents can also make a new version, because the content changes.

The date of a new version is the time the portal first serves the changed document. This can be later than your edit, but it is never earlier, so a CSAF aggregator does not miss a change because its date is before the last time it read the list. changes.csv and provider-metadata.json show the same date as the document. Each request for these two files checks every published advisory first, so a CSAF aggregator that reads changes.csv sees a change before anyone downloads the changed document.

The CSAF and OpenVEX documents have their own version numbers. A change that only one format contains, such as the researcher credit, which only CSAF has, increases only the version of that document.

The severity of the advisory is in document.aggregate_severity. The portal does not write a CVSS object, because the advisory has no CVSS vector or score, and the CVSS format requires both.

Custom domains​

If you are on Enterprise and have verified a custom domain, your whole portal is served from that host, and every URL the CSAF distribution advertises follows it. The canonical_url, the publisher namespace, and the distribution directory URL all use your own domain rather than your .cvdportal.com subdomain. So does the CSAF field in both security.txt files, the one your portal serves at /.well-known/security.txt and the one it generates for you to publish on your own apex domain.

Your .cvdportal.com subdomain keeps serving the same documents, so any link published before you added the custom domain still resolves. Advisory file paths never contain a host, so adding or changing a custom domain does not move a single published advisory.

Verify the domain before you publish your security.txt. Until the DNS challenge passes, the portal still advertises the .cvdportal.com subdomain, because an unverified domain is not yet known to point at us.

OpenVEX export​

Every published advisory is also available as an OpenVEX v0.2.0 document at /advisories/<advisory-ref>/openvex. The download link sits beside the CSAF link on the advisory page.

Both documents read the same advisory record, so they state the same facts in two vocabularies. Use CSAF when the consumer expects a full advisory with severity and credits. Use OpenVEX when the consumer only needs the exploitability status, which is the common case for a dependency scanner.

Three fields exist in CSAF and have no equivalent in OpenVEX, so the OpenVEX document leaves them out.

  • Severity. OpenVEX carries no score.
  • Researcher credit. OpenVEX has no acknowledgment field.
  • The product name. OpenVEX identifies a product by IRI, purl or CPE, so the portal puts the product name in status_notes where a reader can still see it. A linked product adds the purl and CPE of each part.

The status vocabulary is the OpenVEX one, unmodified. A published advisory is fixed. An advisory that is not yet published is affected and always carries an action_statement.

The OpenVEX export uses the same plan gate as the CSAF export. Human-readable disclosure stays free because the CRA requires it.