"description":"Specifies the format of the BOM. This helps to identify the file as CycloneDX since BOMs do not have a filename convention nor does JSON schema support namespaces. This value MUST be \"CycloneDX\".",
"enum":[
"CycloneDX"
]
},
"specVersion":{
"type":"string",
"title":"CycloneDX Specification Version",
"description":"The version of the CycloneDX specification a BOM conforms to (starting at version 1.2).",
"description":"Every BOM generated SHOULD have a unique serial number, even if the contents of the BOM have not changed over time. If specified, the serial number MUST conform to RFC-4122. Use of serial numbers are RECOMMENDED.",
"description":"Whenever an existing BOM is modified, either manually or through automated processes, the version of the BOM SHOULD be incremented by 1. When a system is presented with multiple BOMs with identical serial numbers, the system SHOULD use the most recent version of the BOM. The default version is '1'.",
"description":"External references provide a way to document systems, sites, and information that may be relevant but which are not included with the BOM."
"description":"The person(s) who created the BOM. Authors are common in BOMs created through manual processes. BOMs created through automated means may not have authors.",
"description":"The component that the BOM describes.",
"$ref":"#/definitions/component"
},
"manufacture":{
"title":"Manufacture",
"description":"The organization that manufactured the component that the BOM describes.",
"$ref":"#/definitions/organizationalEntity"
},
"supplier":{
"title":"Supplier",
"description":" The organization that supplied the component that the BOM describes. The supplier may often be the manufacturer, but may also be a distributor or repackager.",
"description":"Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is OPTIONAL.",
"description":"External references provide a way to document systems, sites, and information that may be relevant but which are not included with the BOM."
}
}
},
"organizationalEntity":{
"type":"object",
"title":"Organizational Entity Object",
"description":"",
"additionalProperties":false,
"properties":{
"name":{
"type":"string",
"title":"Name",
"description":"The name of the organization",
"examples":[
"Example Inc."
]
},
"url":{
"type":"array",
"items":{
"type":"string",
"format":"iri-reference"
},
"title":"URL",
"description":"The URL of the organization. Multiple URLs are allowed.",
"description":"Specifies the type of component. For software components, classify as application if no more specific appropriate classification is available or cannot be determined for the component. Types include:\n\n* __application__ = A software application. Refer to [https://en.wikipedia.org/wiki/Application_software](https://en.wikipedia.org/wiki/Application_software) for information about applications.\n* __framework__ = A software framework. Refer to [https://en.wikipedia.org/wiki/Software_framework](https://en.wikipedia.org/wiki/Software_framework) for information on how frameworks vary slightly from libraries.\n* __library__ = A software library. Refer to [https://en.wikipedia.org/wiki/Library_(computing)](https://en.wikipedia.org/wiki/Library_(computing))\n for information about libraries. All third-party and open source reusable components will likely be a library. If the library also has key features of a framework, then it should be classified as a framework. If not, or is unknown, then specifying library is RECOMMENDED.\n* __container__ = A packaging and/or runtime format, not specific to any particular technology, which isolates software inside the container from software outside of a container through virtualization technology. Refer to [https://en.wikipedia.org/wiki/OS-level_virtualization](https://en.wikipedia.org/wiki/OS-level_virtualization)\n* __operating-system__ = A software operating system without regard to deployment model (i.e. installed on physical hardware, virtual machine, image, etc) Refer to [https://en.wikipedia.org/wiki/Operating_system](https://en.wikipedia.org/wiki/Operating_system)\n* __device__ = A hardware device such as a processor, or chip-set. A hardware device containing firmware SHOULD include a component for the physical hardware itself, and another component of type 'firmware' or 'operating-system' (whichever is relevant), describing information about the software running on the device.\n* __firmware__ = A special type of software that provides low-level control over a devices hardware. Refer to [https://en.wikipedia.org/wiki/Firmware](https://en.wikipedia.org/wiki/Firmware)\n* __file__ = A computer file. Refer to [https://en.wikipedia.org/wiki/Computer_file](https://en.wikipedia.org/wiki/Computer_file) for information about files.",
"description":"The optional mime-type of the component. When used on file components, the mime-type can provide additional context about the kind of file being represented such as an image, font, or executable. Some library or framework components may also have an associated mime-type.",
"description":"An optional identifier which can be used to reference the component elsewhere in the BOM. Every bom-ref MUST be unique within the BOM."
},
"supplier":{
"title":"Component Supplier",
"description":" The organization that supplied the component. The supplier may often be the manufacturer, but may also be a distributor or repackager.",
"$ref":"#/definitions/organizationalEntity"
},
"author":{
"type":"string",
"title":"Component Author",
"description":"The person(s) or organization(s) that authored the component",
"description":"The grouping name or identifier. This will often be a shortened, single name of the company or project that produced the component, or the source package or domain name. Whitespace and special characters should be avoided. Examples include: apache, org.apache.commons, and apache.org.",
"title":"Component Common Platform Enumeration (CPE)",
"description":"Specifies a well-formed CPE name that conforms to the CPE 2.2 or 2.3 specification. See [https://nvd.nist.gov/products/cpe](https://nvd.nist.gov/products/cpe)",
"description":"Specifies the package-url (purl). The purl, if specified, MUST be valid and conform to the specification defined at: [https://github.com/package-url/purl-spec](https://github.com/package-url/purl-spec)",
"description":"Specifies metadata and content for [ISO-IEC 19770-2 Software Identification (SWID) Tags](https://www.iso.org/standard/65666.html)."
},
"modified":{
"type":"boolean",
"title":"Component Modified From Original",
"description":"[Deprecated] - DO NOT USE. This will be removed in a future version. Use the pedigree element instead to supply information on exactly how the component was modified. A boolean value indicating if the component has been modified from the original. A value of true indicates the component is a derivative of the original. A value of false indicates the component has not been modified from the original."
},
"pedigree":{
"type":"object",
"title":"Component Pedigree",
"description":"Component pedigree is a way to document complex supply chain scenarios where components are created, distributed, modified, redistributed, combined with other components, etc. Pedigree supports viewing this complex chain from the beginning, the end, or anywhere in the middle. It also provides a way to document variants where the exact relation may not be known.",
"additionalProperties":false,
"properties":{
"ancestors":{
"type":"array",
"title":"Ancestors",
"description":"Describes zero or more components in which a component is derived from. This is commonly used to describe forks from existing projects where the forked version contains a ancestor node containing the original component it was forked from. For example, Component A is the original component. Component B is the component being used and documented in the BOM. However, Component B contains a pedigree node with a single ancestor documenting Component A - the original component from which Component B is derived from.",
"description":"Descendants are the exact opposite of ancestors. This provides a way to document all forks (and their forks) of an original or root component.",
"description":"Variants describe relations where the relationship between the components are not known. For example, if Component A contains nearly identical code to Component B. They are both related, but it is unclear if one is derived from the other, or if they share a common ancestor.",
"description":">A list of zero or more patches describing how the component deviates from an ancestor, descendant, or variant. Patches may be complimentary to commits or may be used in place of commits.",
"description":"External references provide a way to document systems, sites, and information that may be relevant but which are not included with the BOM."
"description":"A list of software and hardware components included in the parent component. This is not a dependency tree. It provides a way to specify a hierarchical representation of component assemblies, similar to system → subsystem → parts assembly in physical supply chains."
},
"evidence":{
"$ref":"#/definitions/componentEvidence",
"title":"Evidence",
"description":"Provides the ability to document evidence collected through various forms of extraction or analysis."
},
"releaseNotes":{
"$ref":"#/definitions/releaseNotes",
"title":"Release notes",
"description":"Specifies optional release notes."
},
"properties":{
"type":"array",
"title":"Properties",
"description":"Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is OPTIONAL.",
"description":"Enveloped signature in [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html)."
}
}
},
"swid":{
"type":"object",
"title":"SWID Tag",
"description":"Specifies metadata and content for ISO-IEC 19770-2 Software Identification (SWID) Tags.",
"required":[
"tagId",
"name"
],
"additionalProperties":false,
"properties":{
"tagId":{
"type":"string",
"title":"Tag ID",
"description":"Maps to the tagId of a SoftwareIdentity."
},
"name":{
"type":"string",
"title":"Name",
"description":"Maps to the name of a SoftwareIdentity."
},
"version":{
"type":"string",
"title":"Version",
"default":"0.0",
"description":"Maps to the version of a SoftwareIdentity."
},
"tagVersion":{
"type":"integer",
"title":"Tag Version",
"default":0,
"description":"Maps to the tagVersion of a SoftwareIdentity."
},
"patch":{
"type":"boolean",
"title":"Patch",
"default":false,
"description":"Maps to the patch of a SoftwareIdentity."
},
"text":{
"title":"Attachment text",
"description":"Specifies the metadata and content of the SWID tag.",
"$ref":"#/definitions/attachment"
},
"url":{
"type":"string",
"title":"URL",
"description":"The URL to the SWID file.",
"format":"iri-reference"
}
}
},
"attachment":{
"type":"object",
"title":"Attachment",
"description":"Specifies the metadata and content for an attachment.",
"required":[
"content"
],
"additionalProperties":false,
"properties":{
"contentType":{
"type":"string",
"title":"Content-Type",
"description":"Specifies the content type of the text. Defaults to text/plain if not specified.",
"default":"text/plain"
},
"encoding":{
"type":"string",
"title":"Encoding",
"description":"Specifies the optional encoding the text is represented in.",
"enum":[
"base64"
]
},
"content":{
"type":"string",
"title":"Attachment Text",
"description":"The attachment data. Proactive controls such as input validation and sanitization should be employed to prevent misuse of attachment text."
"description":"A unique identifier of the commit. This may be version control specific. For example, Subversion uses revision numbers whereas git uses commit hashes."
},
"url":{
"type":"string",
"title":"URL",
"description":"The URL to the commit. This URL will typically point to a commit in a version control system.",
"format":"iri-reference"
},
"author":{
"title":"Author",
"description":"The author who created the changes in the commit",
"$ref":"#/definitions/identifiableAction"
},
"committer":{
"title":"Committer",
"description":"The person who committed or pushed the commit",
"$ref":"#/definitions/identifiableAction"
},
"message":{
"type":"string",
"title":"Message",
"description":"The text description of the contents of the commit"
}
}
},
"patch":{
"type":"object",
"title":"Patch",
"description":"Specifies an individual patch",
"required":[
"type"
],
"additionalProperties":false,
"properties":{
"type":{
"type":"string",
"enum":[
"unofficial",
"monkey",
"backport",
"cherry-pick"
],
"title":"Type",
"description":"Specifies the purpose for the patch including the resolution of defects, security issues, or new behavior or functionality.\n\n* __unofficial__ = A patch which is not developed by the creators or maintainers of the software being patched. Refer to [https://en.wikipedia.org/wiki/Unofficial_patch](https://en.wikipedia.org/wiki/Unofficial_patch)\n* __monkey__ = A patch which dynamically modifies runtime behavior. Refer to [https://en.wikipedia.org/wiki/Monkey_patch](https://en.wikipedia.org/wiki/Monkey_patch)\n* __backport__ = A patch which takes code from a newer version of software and applies it to older versions of the same software. Refer to [https://en.wikipedia.org/wiki/Backporting](https://en.wikipedia.org/wiki/Backporting)\n* __cherry-pick__ = A patch created by selectively applying commits from other versions or branches of the same software."
},
"diff":{
"title":"Diff",
"description":"The patch file (or diff) that show changes. Refer to [https://en.wikipedia.org/wiki/Diff](https://en.wikipedia.org/wiki/Diff)",
"description":"The timestamp in which the action occurred"
},
"name":{
"type":"string",
"title":"Name",
"description":"The name of the individual who performed the action"
},
"email":{
"type":"string",
"format":"idn-email",
"title":"E-mail",
"description":"The email address of the individual who performed the action"
}
}
},
"externalReference":{
"type":"object",
"title":"External Reference",
"description":"Specifies an individual external reference",
"required":[
"url",
"type"
],
"additionalProperties":false,
"properties":{
"url":{
"type":"string",
"title":"URL",
"description":"The URL to the external reference",
"format":"iri-reference"
},
"comment":{
"type":"string",
"title":"Comment",
"description":"An optional comment describing the external reference"
},
"type":{
"type":"string",
"title":"Type",
"description":"Specifies the type of external reference. There are built-in types to describe common references. If a type does not exist for the reference being referred to, use the \"other\" type.",
"description":"The hashes of the external reference (if applicable)."
}
}
},
"dependency":{
"type":"object",
"title":"Dependency",
"description":"Defines the direct dependencies of a component. Components that do not have their own dependencies MUST be declared as empty elements within the graph. Components that are not represented in the dependency graph MAY have unknown dependencies. It is RECOMMENDED that implementations assume this to be opaque and not an indicator of a component being dependency-free.",
"required":[
"ref"
],
"additionalProperties":false,
"properties":{
"ref":{
"$ref":"#/definitions/refType",
"title":"Reference",
"description":"References a component by the components bom-ref attribute"
},
"dependsOn":{
"type":"array",
"uniqueItems":true,
"additionalItems":false,
"items":{
"$ref":"#/definitions/refType"
},
"title":"Depends On",
"description":"The bom-ref identifiers of the components that are dependencies of this dependency object."
}
}
},
"service":{
"type":"object",
"title":"Service Object",
"required":[
"name"
],
"additionalProperties":false,
"properties":{
"bom-ref":{
"$ref":"#/definitions/refType",
"title":"BOM Reference",
"description":"An optional identifier which can be used to reference the service elsewhere in the BOM. Every bom-ref MUST be unique within the BOM."
},
"provider":{
"title":"Provider",
"description":"The organization that provides the service.",
"$ref":"#/definitions/organizationalEntity"
},
"group":{
"type":"string",
"title":"Service Group",
"description":"The grouping name, namespace, or identifier. This will often be a shortened, single name of the company or project that produced the service or domain name. Whitespace and special characters should be avoided.",
"description":"A boolean value indicating if the service requires authentication. A value of true indicates the service requires authentication prior to use. A value of false indicates the service does not require authentication."
},
"x-trust-boundary":{
"type":"boolean",
"title":"Crosses Trust Boundary",
"description":"A boolean value indicating if use of the service crosses a trust zone or boundary. A value of true indicates that by using the service, a trust boundary is crossed. A value of false indicates that by using the service, a trust boundary is not crossed."
"description":"External references provide a way to document systems, sites, and information that may be relevant but which are not included with the BOM."
"description":"A list of services included or deployed behind the parent service. This is not a dependency tree. It provides a way to specify a hierarchical representation of service assemblies."
},
"releaseNotes":{
"$ref":"#/definitions/releaseNotes",
"title":"Release notes",
"description":"Specifies optional release notes."
},
"properties":{
"type":"array",
"title":"Properties",
"description":"Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is OPTIONAL.",
"description":"Enveloped signature in [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html)."
}
}
},
"dataClassification":{
"type":"object",
"title":"Hash Objects",
"required":[
"flow",
"classification"
],
"additionalProperties":false,
"properties":{
"flow":{
"$ref":"#/definitions/dataFlow",
"title":"Directional Flow",
"description":"Specifies the flow direction of the data. Direction is relative to the service. Inbound flow states that data enters the service. Outbound flow states that data leaves the service. Bi-directional states that data flows both ways, and unknown states that the direction is not known."
},
"classification":{
"type":"string",
"title":"Classification",
"description":"Data classification tags data according to its type, sensitivity, and value if altered, stolen, or destroyed."
}
}
},
"dataFlow":{
"type":"string",
"enum":[
"inbound",
"outbound",
"bi-directional",
"unknown"
],
"title":"Data flow direction",
"description":"Specifies the flow direction of the data. Direction is relative to the service. Inbound flow states that data enters the service. Outbound flow states that data leaves the service. Bi-directional states that data flows both ways, and unknown states that the direction is not known."
},
"copyright":{
"type":"object",
"title":"Copyright",
"required":[
"text"
],
"additionalProperties":false,
"properties":{
"text":{
"type":"string",
"title":"Copyright Text"
}
}
},
"componentEvidence":{
"type":"object",
"title":"Evidence",
"description":"Provides the ability to document evidence collected through various forms of extraction or analysis.",
"description":"Specifies an aggregate type that describe how complete a relationship is."
},
"assemblies":{
"type":"array",
"uniqueItems":true,
"items":{
"type":"string"
},
"title":"BOM references",
"description":"The bom-ref identifiers of the components or services being described. Assemblies refer to nested relationships whereby a constituent part may include other constituent parts. References do not cascade to child parts. References are explicit for the specified constituent part only."
},
"dependencies":{
"type":"array",
"uniqueItems":true,
"items":{
"type":"string"
},
"title":"BOM references",
"description":"The bom-ref identifiers of the components or services being described. Dependencies refer to a relationship whereby an independent constituent part requires another independent constituent part. References do not cascade to transitive dependencies. References are explicit for the specified dependency only."
},
"signature":{
"$ref":"#/definitions/signature",
"title":"Signature",
"description":"Enveloped signature in [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html)."
}
}
},
"aggregateType":{
"type":"string",
"default":"not_specified",
"enum":[
"complete",
"incomplete",
"incomplete_first_party_only",
"incomplete_third_party_only",
"unknown",
"not_specified"
]
},
"property":{
"type":"object",
"title":"Lightweight name-value pair",
"properties":{
"name":{
"type":"string",
"title":"Name",
"description":"The name of the property. Duplicate names are allowed, each potentially having a different value."
},
"value":{
"type":"string",
"title":"Value",
"description":"The value of the property."
}
}
},
"localeType":{
"type":"string",
"pattern":"^([a-z]{2})(-[A-Z]{2})?$",
"title":"Locale",
"description":"Defines a syntax for representing two character language code (ISO-639) followed by an optional two character country code. The language code MUST be lower case. If the country code is specified, the country code MUST be upper case. The language code and country code MUST be separated by a minus sign. Examples: en, en-US, fr, fr-CA"
},
"releaseType":{
"type":"string",
"examples":[
"major",
"minor",
"patch",
"pre-release",
"internal"
],
"description":"The software versioning type. It is RECOMMENDED that the release type use one of 'major', 'minor', 'patch', 'pre-release', or 'internal'. Representing all possible software release types is not practical, so standardizing on the recommended values, whenever possible, is strongly encouraged.\n\n* __major__ = A major release may contain significant changes or may introduce breaking changes.\n* __minor__ = A minor release, also known as an update, may contain a smaller number of changes than major releases.\n* __patch__ = Patch releases are typically unplanned and may resolve defects or important security issues.\n* __pre-release__ = A pre-release may include alpha, beta, or release candidates and typically have limited support. They provide the ability to preview a release prior to its general availability.\n* __internal__ = Internal releases are not for public consumption and are intended to be used exclusively by the project or manufacturer that produced it."
},
"note":{
"type":"object",
"title":"Note",
"description":"A note containing the locale and content.",
"required":[
"text"
],
"additionalProperties":false,
"properties":{
"locale":{
"$ref":"#/definitions/localeType",
"title":"Locale",
"description":"The ISO-639 (or higher) language code and optional ISO-3166 (or higher) country code. Examples include: \"en\", \"en-US\", \"fr\" and \"fr-CA\""
},
"text":{
"title":"Release note content",
"description":"Specifies the full content of the release note.",
"$ref":"#/definitions/attachment"
}
}
},
"releaseNotes":{
"type":"object",
"title":"Release notes",
"required":[
"type"
],
"additionalProperties":false,
"properties":{
"type":{
"$ref":"#/definitions/releaseType",
"title":"Type",
"description":"The software versioning type the release note describes."
},
"title":{
"type":"string",
"title":"Title",
"description":"The title of the release."
},
"featuredImage":{
"type":"string",
"format":"iri-reference",
"title":"Featured image",
"description":"The URL to an image that may be prominently displayed with the release note."
},
"socialImage":{
"type":"string",
"format":"iri-reference",
"title":"Social image",
"description":"The URL to an image that may be used in messaging on social media platforms."
},
"description":{
"type":"string",
"title":"Description",
"description":"A short description of the release."
},
"timestamp":{
"type":"string",
"format":"date-time",
"title":"Timestamp",
"description":"The date and time (timestamp) when the release note was created."
},
"aliases":{
"type":"array",
"items":{
"type":"string"
},
"title":"Aliases",
"description":"One or more alternate names the release may be referred to. This may include unofficial terms used by development and marketing teams (e.g. code names)."
},
"tags":{
"type":"array",
"items":{
"type":"string"
},
"title":"Tags",
"description":"One or more tags that may aid in search or retrieval of the release note."
"description":"Zero or more release notes containing the locale and content. Multiple note objects may be specified to support release notes in a wide variety of languages."
},
"properties":{
"type":"array",
"title":"Properties",
"description":"Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is OPTIONAL.",
"description":"Title and location where advisory information can be obtained. An advisory is a notification of a threat to a component, service, or system.",
"description":"Location where the advisory can be obtained."
}
}
},
"cwe":{
"type":"integer",
"minimum":1,
"title":"CWE",
"description":"Integer representation of a Common Weaknesses Enumerations (CWE). For example 399 (of https://cwe.mitre.org/data/definitions/399.html)"
},
"severity":{
"type":"string",
"title":"Severity",
"description":"Textual representation of the severity of the vulnerability adopted by the analysis method. If the analysis method uses values other than what is provided, the user is expected to translate appropriately.",
"enum":[
"critical",
"high",
"medium",
"low",
"info",
"none",
"unknown"
]
},
"scoreMethod":{
"type":"string",
"title":"Method",
"description":"Specifies the severity or risk scoring methodology or standard used.\n\n* CVSSv2 - [Common Vulnerability Scoring System v2](https://www.first.org/cvss/v2/)\n* CVSSv3 - [Common Vulnerability Scoring System v3](https://www.first.org/cvss/v3-0/)\n* CVSSv31 - [Common Vulnerability Scoring System v3.1](https://www.first.org/cvss/v3-1/)\n* OWASP - [OWASP Risk Rating Methodology](https://owasp.org/www-community/OWASP_Risk_Rating_Methodology)",
"enum":[
"CVSSv2",
"CVSSv3",
"CVSSv31",
"OWASP",
"other"
]
},
"impactAnalysisState":{
"type":"string",
"title":"Impact Analysis State",
"description":"Declares the current state of an occurrence of a vulnerability, after automated or manual analysis. \n\n* __resolved__ = the vulnerability has been remediated. \n* __resolved\\_with\\_pedigree__ = the vulnerability has been remediated and evidence of the changes are provided in the affected components pedigree containing verifiable commit history and/or diff(s). \n* __exploitable__ = the vulnerability may be directly or indirectly exploitable. \n* __in\\_triage__ = the vulnerability is being investigated. \n* __false\\_positive__ = the vulnerability is not specific to the component or service and was falsely identified or associated. \n* __not\\_affected__ = the component or service is not affected by the vulnerability. Justification should be specified for all not_affected cases.",
"enum":[
"resolved",
"resolved_with_pedigree",
"exploitable",
"in_triage",
"false_positive",
"not_affected"
]
},
"impactAnalysisJustification":{
"type":"string",
"title":"Impact Analysis Justification",
"description":"The rationale of why the impact analysis state was asserted. \n\n* __code\\_not\\_present__ = the code has been removed or tree-shaked. \n* __code\\_not\\_reachable__ = the vulnerable code is not invoked at runtime. \n* __requires\\_configuration__ = exploitability requires a configurable option to be set/unset. \n* __requires\\_dependency__ = exploitability requires a dependency that is not present. \n* __requires\\_environment__ = exploitability requires a certain environment which is not present. \n* __protected\\_by\\_compiler__ = exploitability requires a compiler flag to be set/unset. \n* __protected\\_at\\_runtime__ = exploits are prevented at runtime. \n* __protected\\_at\\_perimeter__ = attacks are blocked at physical, logical, or network perimeter. \n* __protected\\_by\\_mitigating\\_control__ = preventative measures have been implemented that reduce the likelihood and/or impact of the vulnerability.",
"enum":[
"code_not_present",
"code_not_reachable",
"requires_configuration",
"requires_dependency",
"requires_environment",
"protected_by_compiler",
"protected_at_runtime",
"protected_at_perimeter",
"protected_by_mitigating_control"
]
},
"rating":{
"type":"object",
"title":"Rating",
"description":"Defines the severity or risk ratings of a vulnerability.",
"additionalProperties":false,
"properties":{
"source":{
"$ref":"#/definitions/vulnerabilitySource",
"description":"The source that calculated the severity or risk rating of the vulnerability."
},
"score":{
"type":"number",
"title":"Score",
"description":"The numerical score of the rating."
},
"severity":{
"$ref":"#/definitions/severity",
"description":"Textual representation of the severity that corresponds to the numerical score of the rating."
},
"method":{
"$ref":"#/definitions/scoreMethod"
},
"vector":{
"type":"string",
"title":"Vector",
"description":"Textual representation of the metric values used to score the vulnerability"
},
"justification":{
"type":"string",
"title":"Justification",
"description":"An optional reason for rating the vulnerability as it was"
}
}
},
"vulnerabilitySource":{
"type":"object",
"title":"Source",
"description":"The source of vulnerability information. This is often the organization that published the vulnerability.",
"additionalProperties":false,
"properties":{
"url":{
"type":"string",
"title":"URL",
"description":"The url of the vulnerability documentation as provided by the source.",
"examples":[
"https://nvd.nist.gov/vuln/detail/CVE-2021-39182"
]
},
"name":{
"type":"string",
"title":"Name",
"description":"The name of the source.",
"examples":[
"NVD",
"National Vulnerability Database",
"OSS Index",
"VulnDB",
"GitHub Advisories"
]
}
}
},
"vulnerability":{
"type":"object",
"title":"Vulnerability",
"description":"Defines a weakness in an component or service that could be exploited or triggered by a threat source.",
"additionalProperties":false,
"properties":{
"bom-ref":{
"$ref":"#/definitions/refType",
"title":"BOM Reference",
"description":"An optional identifier which can be used to reference the vulnerability elsewhere in the BOM. Every bom-ref MUST be unique within the BOM."
},
"id":{
"type":"string",
"title":"ID",
"description":"The identifier that uniquely identifies the vulnerability.",
"examples":[
"CVE-2021-39182",
"GHSA-35m5-8cvj-8783",
"SNYK-PYTHON-ENROCRYPT-1912876"
]
},
"source":{
"$ref":"#/definitions/vulnerabilitySource",
"description":"The source that published the vulnerability."
},
"references":{
"type":"array",
"title":"References",
"description":"Zero or more pointers to vulnerabilities that are the equivalent of the vulnerability specified. Often times, the same vulnerability may exist in multiple sources of vulnerability intelligence, but have different identifiers. References provide a way to correlate vulnerabilities across multiple sources of vulnerability intelligence.",
"additionalItems":false,
"items":{
"required":[
"id",
"source"
],
"additionalProperties":false,
"properties":{
"id":{
"type":"string",
"title":"ID",
"description":"An identifier that uniquely identifies the vulnerability.",
"examples":[
"CVE-2021-39182",
"GHSA-35m5-8cvj-8783",
"SNYK-PYTHON-ENROCRYPT-1912876"
]
},
"source":{
"$ref":"#/definitions/vulnerabilitySource",
"description":"The source that published the vulnerability."
}
}
}
},
"ratings":{
"type":"array",
"title":"Ratings",
"description":"List of vulnerability ratings",
"additionalItems":false,
"items":{
"$ref":"#/definitions/rating"
}
},
"cwes":{
"type":"array",
"title":"CWEs",
"description":"List of Common Weaknesses Enumerations (CWEs) codes that describes this vulnerability. For example 399 (of https://cwe.mitre.org/data/definitions/399.html)",
"description":"A description of the vulnerability as provided by the source."
},
"detail":{
"type":"string",
"title":"Details",
"description":"If available, an in-depth description of the vulnerability as provided by the source organization. Details often include examples, proof-of-concepts, and other information useful in understanding root cause."
},
"recommendation":{
"type":"string",
"title":"Details",
"description":"Recommendations of how the vulnerability can be remediated or mitigated."
},
"advisories":{
"type":"array",
"title":"Advisories",
"description":"Published advisories of the vulnerability if provided.",
"additionalItems":false,
"items":{
"$ref":"#/definitions/advisory"
}
},
"created":{
"type":"string",
"format":"date-time",
"title":"Created",
"description":"The date and time (timestamp) when the vulnerability record was created in the vulnerability database."
},
"published":{
"type":"string",
"format":"date-time",
"title":"Published",
"description":"The date and time (timestamp) when the vulnerability record was first published."
},
"updated":{
"type":"string",
"format":"date-time",
"title":"Updated",
"description":"The date and time (timestamp) when the vulnerability record was last updated."
},
"credits":{
"type":"object",
"title":"Credits",
"description":"Individuals or organizations credited with the discovery of the vulnerability.",
"additionalProperties":false,
"properties":{
"organizations":{
"type":"array",
"title":"Organizations",
"description":"The organizations credited with vulnerability discovery.",
"additionalItems":false,
"items":{
"$ref":"#/definitions/organizationalEntity"
}
},
"individuals":{
"type":"array",
"title":"Individuals",
"description":"The individuals, not associated with organizations, that are credited with vulnerability discovery.",
"additionalItems":false,
"items":{
"$ref":"#/definitions/organizationalContact"
}
}
}
},
"tools":{
"type":"array",
"title":"Creation Tools",
"description":"The tool(s) used to identify, confirm, or score the vulnerability.",
"description":"A response to the vulnerability by the manufacturer, supplier, or project responsible for the affected component or service. More than one response is allowed. Responses are strongly encouraged for vulnerabilities where the analysis state is exploitable.",
"additionalItems":false,
"items":{
"type":"string",
"enum":[
"can_not_fix",
"will_not_fix",
"update",
"rollback",
"workaround_available"
]
}
},
"detail":{
"type":"string",
"title":"Detail",
"description":"Detailed description of the impact including methods used during assessment. If a vulnerability is not exploitable, this field should include specific details on why the component or service is not impacted by this vulnerability."
}
}
},
"affects":{
"type":"array",
"uniqueItems":true,
"additionalItems":false,
"items":{
"required":[
"ref"
],
"additionalProperties":false,
"properties":{
"ref":{
"$ref":"#/definitions/refType",
"title":"Reference",
"description":"References a component or service by the objects bom-ref"
},
"versions":{
"type":"array",
"title":"Versions",
"description":"Zero or more individual versions or range of versions.",
"description":"A single version of a component or service.",
"$ref":"#/definitions/version"
},
"range":{
"description":"A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/VERSION-RANGE-SPEC.rst",
"$ref":"#/definitions/version"
},
"status":{
"description":"The vulnerability status for the version or range of versions.",
"$ref":"#/definitions/affectedStatus",
"default":"affected"
}
}
}
}
}
},
"title":"Affects",
"description":"The components or services that are affected by the vulnerability."
},
"properties":{
"type":"array",
"title":"Properties",
"description":"Provides the ability to document properties in a name-value store. This provides flexibility to include data not officially supported in the standard without having to use additional namespaces or create extensions. Unlike key-value stores, properties support duplicate names, each potentially having different values. Property names of interest to the general public are encouraged to be registered in the [CycloneDX Property Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy). Formal registration is OPTIONAL.",
"additionalItems":false,
"items":{
"$ref":"#/definitions/property"
}
}
}
},
"affectedStatus":{
"description":"The vulnerability status of a given version or range of versions of a product. The statuses 'affected' and 'unaffected' indicate that the version is affected or unaffected by the vulnerability. The status 'unknown' indicates that it is unknown or unspecified whether the given version is affected. There can be many reasons for an 'unknown' status, including that an investigation has not been undertaken or that a vendor has not disclosed the status.",
"type":"string",
"enum":[
"affected",
"unaffected",
"unknown"
]
},
"version":{
"description":"A single version of a component or service.",
"type":"string",
"minLength":1,
"maxLength":1024
},
"range":{
"description":"A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/VERSION-RANGE-SPEC.rst",
"description":"Enveloped signature in [JSON Signature Format (JSF)](https://cyberphone.github.io/doc/security/jsf.html).",
"type":"object",
"oneOf":[
{
"additionalProperties":false,
"properties":{
"signers":{
"type":"array",
"title":"Signature",
"description":"Unique top level property for Multiple Signatures. (multisignature)",
"additionalItems":false,
"items":{
"$ref":"#/definitions/signer"
}
}
}
},
{
"additionalProperties":false,
"properties":{
"chain":{
"type":"array",
"title":"Signature",
"description":"Unique top level property for Signature Chains. (signaturechain)",
"additionalItems":false,
"items":{
"$ref":"#/definitions/signer"
}
}
}
},
{
"title":"Signature",
"description":"Unique top level property for simple signatures. (signaturecore)",
"$ref":"#/definitions/signer"
}
]
},
"signer":{
"type":"object",
"title":"Signature",
"required":[
"algorithm",
"value"
],
"additionalProperties":false,
"properties":{
"algorithm":{
"oneOf":[
{
"type":"string",
"title":"Algorithm",
"description":"Signature algorithm. The currently recognized JWA [RFC7518] and RFC8037 [RFC8037] asymmetric key algorithms. Note: Unlike RFC8037 [RFC8037] JSF requires explicit Ed* algorithm names instead of \"EdDSA\".",
"enum":[
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"Ed25519",
"Ed448",
"HS256",
"HS384",
"HS512"
]
},
{
"type":"string",
"title":"Algorithm",
"description":"Signature algorithm. Note: If proprietary signature algorithms are added, they must be expressed as URIs.",
"format":"uri"
}
]
},
"keyId":{
"type":"string",
"title":"Key ID",
"description":"Optional. Application specific string identifying the signature key."
},
"publicKey":{
"title":"Public key",
"description":"Optional. Public key object.",
"$ref":"#/definitions/publicKey"
},
"certificatePath":{
"type":"array",
"title":"Certificate path",
"description":"Optional. Sorted array of X.509 [RFC5280] certificates, where the first element must contain the signature certificate. The certificate path must be contiguous but is not required to be complete.",
"additionalItems":false,
"items":{
"type":"string"
}
},
"excludes":{
"type":"array",
"title":"Excludes",
"description":"Optional. Array holding the names of one or more application level properties that must be excluded from the signature process. Note that the \"excludes\" property itself, must also be excluded from the signature process. Since both the \"excludes\" property and the associated data it points to are unsigned, a conforming JSF implementation must provide options for specifying which properties to accept.",
"additionalItems":false,
"items":{
"type":"string"
}
},
"value":{
"type":"string",
"title":"Signature",
"description":"The signature data. Note that the binary representation must follow the JWA [RFC7518] specifications."
}
}
},
"keyType":{
"type":"string",
"title":"Key type",
"description":"Key type indicator.",
"enum":[
"EC",
"OKP",
"RSA"
]
},
"publicKey":{
"title":"Public key",
"description":"Optional. Public key object.",
"type":"object",
"required":[
"kty"
],
"additionalProperties":true,
"properties":{
"kty":{
"$ref":"#/definitions/keyType"
}
},
"allOf":[
{
"if":{
"properties":{
"kty":{
"const":"EC"
}
}
},
"then":{
"required":[
"kty",
"crv",
"x",
"y"
],
"additionalProperties":false,
"properties":{
"kty":{
"$ref":"#/definitions/keyType"
},
"crv":{
"type":"string",
"title":"Curve name",
"description":"EC curve name.",
"enum":[
"P-256",
"P-384",
"P-521"
]
},
"x":{
"type":"string",
"title":"Coordinate",
"description":"EC curve point X. The length of this field must be the full size of a coordinate for the curve specified in the \"crv\" parameter. For example, if the value of \"crv\" is \"P-521\", the decoded argument must be 66 bytes."
},
"y":{
"type":"string",
"title":"Coordinate",
"description":"EC curve point Y. The length of this field must be the full size of a coordinate for the curve specified in the \"crv\" parameter. For example, if the value of \"crv\" is \"P-256\", the decoded argument must be 32 bytes."
}
}
}
},
{
"if":{
"properties":{
"kty":{
"const":"OKP"
}
}
},
"then":{
"required":[
"kty",
"crv",
"x"
],
"additionalProperties":false,
"properties":{
"kty":{
"$ref":"#/definitions/keyType"
},
"crv":{
"type":"string",
"title":"Curve name",
"description":"EdDSA curve name.",
"enum":[
"Ed25519",
"Ed448"
]
},
"x":{
"type":"string",
"title":"Coordinate",
"description":"EdDSA curve point X. The length of this field must be the full size of a coordinate for the curve specified in the \"crv\" parameter. For example, if the value of \"crv\" is \"Ed25519\", the decoded argument must be 32 bytes."