CSAF
CSAF is the OASIS standard for machine-readable security advisories in JSON. Profiles, distribution, how it relates to VEX and why manufacturers under the CRA use it.
Updated This page as Markdown
In short
CSAF (Common Security Advisory Framework) is an OASIS standard for security advisories in a machine-readable JSON format. A CSAF document names the affected products and versions, the vulnerabilities, their status and the remediation, so that operators can match advisories against their asset inventory automatically. Version 2.0 defines several profiles, among them the security advisory and VEX. The Cyber Resilience Act does not prescribe CSAF, but it is a practical way to publish the required information on fixed vulnerabilities.
What is CSAF?
CSAF is a standard format for security advisories that software can read. Instead of a PDF or a web page that an administrator has to read and interpret, the manufacturer publishes a JSON file with a fixed structure, and the customer’s tools check automatically whether any installed product is affected.
A CSAF document has three main parts. The document section holds the publisher, the tracking ID, the revision history and the distribution rules. The product tree lists products and versions with identifiers. The vulnerabilities section holds the CVE ID, the CVSS score, the status of each product (affected, fixed, not affected, under investigation) and the remediation.
Where is it defined?
CSAF 2.0 is an OASIS Standard and the successor of the older CVRF format. It defines profiles for different purposes, including the security advisory, the informational advisory and VEX. It also defines how advisories are distributed: a manufacturer publishes a provider-metadata.json file that tells tools where the advisories are, and the standard distinguishes the roles of publisher, provider and trusted provider with increasing requirements.
In the context of the Cyber Resilience Act, CSAF is a tool for Annex I Part II point 4 (public information on fixed vulnerabilities) and point 8 (updates accompanied by advisory messages). The BSI Technical Guideline TR-03183-2 points to CSAF and VEX as the place for vulnerability information, which the SBOM itself must not contain. TR-03183 is not binding.
What it means in practice
CSAF pays off as soon as customers run more than a handful of your devices. What we see when manufacturers introduce it:
- Product names that match nothing. The advisory says “Gateway X, all versions before 2.4”, the customer inventory says something else. Use the same identifiers in the SBOM, the product tree and the product label.
- One advisory, no updates. A CSAF document has a revision history for a reason. When the fix ships or the analysis changes, publish a new revision under the same tracking ID.
- Hand-written JSON. Without an editor or generator, documents fail validation. Validate every file against the schema before publication.
- No stable location. Advisories move with every website relaunch. Tools need a fixed URL and the metadata file.
Zyberum writes advisories in plain language and in CSAF as part of SBOM and vulnerability management and the managed PSIRT.
Common misunderstandings
CSAF is not a vulnerability database. It is the format in which you, the manufacturer, speak about your own products. It is not the report to the authorities either: the notifications under Article 14 go through the Single Reporting Platform, not through a CSAF feed. And publishing in CSAF does not mean publishing early: the advisory goes out when the fix is available, as coordinated disclosure intends.
FAQ
Frequently asked questions
Is CSAF mandatory under the Cyber Resilience Act?
No. Annex I Part II point 4 requires manufacturers to share and publicly disclose information about fixed vulnerabilities once a security update is available, including a description, the affected products, the impact, the severity and how to remediate. The regulation does not name a format. CSAF covers exactly these fields in machine-readable form, which is why it is the common choice.
What is the difference between CSAF and VEX?
CSAF is a document format, VEX is a kind of statement. A CSAF document with the VEX profile is one way to publish VEX statements. A CSAF security advisory, in contrast, describes a vulnerability that does affect the product, with the fix and the workaround. Many manufacturers publish both from the same tooling.
Do I still need a human-readable advisory?
Yes. A CSAF file is written for tools. Users of a device and administrators without an asset management system need a web page or notice in plain language. In practice the CSAF document is the source and the readable advisory is generated from it, so the two cannot drift apart.
Sources
Related pages
- ServicesSBOM and vulnerability management, run for you.SBOM and vulnerability management as a service: an SBOM per release in CycloneDX or SPDX, daily monitoring, triage with VEX and advisories in CSAF, done for you.
- ServicesYour PSIRT, run by Zyberum.Managed PSIRT for manufacturers: we run vulnerability intake, SBOM monitoring, triage, advisories and draft your 24-hour and 72-hour CRA reports. You stay in control.
- GlossaryVEXVEX states in machine-readable form whether a known vulnerability in a component actually affects your product. Status values, formats and its role next to the SBOM.
- GlossaryPSIRTA PSIRT receives, triages and resolves vulnerabilities in the products a manufacturer has shipped. Tasks, the FIRST framework and what the Cyber Resilience Act expects.
- GlossarySBOMAn SBOM lists every software component in a product with version and supplier. Formats, minimum elements, what the Cyber Resilience Act requires and how to use one.
- GlossaryCVECVE (Common Vulnerabilities and Exposures) gives every public vulnerability one ID. How CVE records are created, what they contain and how to use them.
- GlossaryCVSSCVSS, the Common Vulnerability Scoring System, rates how severe a vulnerability is from 0 to 10. What it measures, what it does not, and how to use it in a report.
