Skip to content
Warning:Contents are available for feedback and preview; practices and lexicons can still change. Implement at your own risk!

software.release.bulletin.event.security

software.release.bulletin.event.security
{
  "lexicon": 1,
  "id": "software.release.bulletin.event.security",
  "description": "Security event variant definitions for software.release.bulletin.event records. This is a definition namespace, not a record collection.",
  "defs": {
    "vulnerability": {
      "type": "object",
      "description": "This version is affected by one identified security vulnerability. Publish a separate event for each distinct vulnerability. No generic effective time is defined: identifier authorities describe vulnerability timelines, while createdAt only records publication of this event.",
      "required": [
        "identifiers"
      ],
      "properties": {
        "identifiers": {
          "type": "array",
          "minLength": 1,
          "items": {
            "type": "ref",
            "ref": "#vulnerabilityIdentifier"
          },
          "description": "Public identifiers for the same vulnerability. Multiple entries assert aliases, not separate issues. Entries MUST be unique by scheme and identifier and use the assigning authority's canonical spelling."
        },
        "summary": {
          "type": "string",
          "maxLength": 3000,
          "maxGraphemes": 300,
          "description": "Optional concise human-readable description of the vulnerability's relevance or impact on this version. It does not replace the authoritative identifier records."
        },
        "references": {
          "type": "array",
          "maxLength": 20,
          "items": {
            "type": "string",
            "format": "uri"
          },
          "description": "Optional supporting or authoritative URIs for this vulnerability. Entries MUST be unique; consumers MUST treat their contents as external information rather than part of this immutable event."
        }
      }
    },
    "vulnerabilityIdentifier": {
      "type": "object",
      "description": "A vulnerability identifier qualified by its naming scheme. The scheme vocabulary is open so identifiers from additional authorities can be represented without a Lexicon revision.",
      "required": [
        "scheme",
        "identifier"
      ],
      "properties": {
        "scheme": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64,
          "knownValues": [
            "cve",
            "ghsa",
            "osv"
          ],
          "description": "Lowercase identifier scheme or assigning authority. cve denotes CVE IDs, ghsa denotes GitHub Security Advisory IDs, and osv denotes OSV IDs. Known values are not exhaustive; consumers MUST preserve unknown schemes and MUST NOT reinterpret them as a known scheme."
        },
        "identifier": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256,
          "description": "Identifier in the scheme's canonical spelling, without adding or removing a scheme prefix defined by that authority. Consumers MUST compare it according to the named scheme rather than assuming universal case or normalization rules."
        }
      }
    },
    "compromised": {
      "type": "object",
      "description": "The version as a whole is known or reasonably believed to have been produced, published, or distributed under unauthorized control.",
      "required": [
        "description"
      ],
      "properties": {
        "description": {
          "type": "string",
          "maxLength": 3000,
          "minGraphemes": 1,
          "maxGraphemes": 300,
          "description": "State the basis and scope of the compromise determination. MUST NOT be whitespace-only."
        }
      }
    },
    "artifactCompromised": {
      "type": "object",
      "description": "A specific declared artifact is known or reasonably believed to contain unauthorized or malicious content despite retaining its declared identity.",
      "required": [
        "artifact",
        "description"
      ],
      "properties": {
        "artifact": {
          "type": "string",
          "format": "cid",
          "description": "CID of the affected artifact bytes as declared by the manifest."
        },
        "description": {
          "type": "string",
          "maxLength": 3000,
          "minGraphemes": 1,
          "maxGraphemes": 300,
          "description": "State the basis and scope of the artifact compromise determination. MUST NOT be whitespace-only."
        }
      }
    },
    "integrityFailure": {
      "type": "object",
      "description": "Bytes obtained for a declared artifact failed verification against the manifest's expected CID or size. This reports a verification failure and does not redefine the artifact.",
      "required": [
        "artifact",
        "description"
      ],
      "properties": {
        "artifact": {
          "type": "string",
          "format": "cid",
          "description": "Expected CID of the artifact as declared by the manifest."
        },
        "observedCid": {
          "type": "string",
          "format": "cid",
          "description": "CID of the bytes actually obtained, when complete bytes were available to hash."
        },
        "description": {
          "type": "string",
          "maxLength": 3000,
          "minGraphemes": 1,
          "maxGraphemes": 300,
          "description": "Identify the failed check and affected location. MUST NOT be whitespace-only."
        }
      }
    },
    "credentialCompromise": {
      "type": "object",
      "description": "A credential used to build, sign, publish, or distribute this version is known or reasonably believed to have been compromised.",
      "required": [
        "description"
      ],
      "properties": {
        "description": {
          "type": "string",
          "maxLength": 3000,
          "minGraphemes": 1,
          "maxGraphemes": 300,
          "description": "Describe the affected credential class and impact. MUST NOT be whitespace-only or include secrets."
        }
      }
    }
  }
}
#vulnerabilityobject

This version is affected by one identified security vulnerability. Publish a separate event for each distinct vulnerability. No generic effective time is defined: identifier authorities describe vulnerability timelines, while createdAt only records publication of this event.

identifiersarrayRequiredminLength:1items.ref:#vulnerabilityIdentifier
Public identifiers for the same vulnerability. Multiple entries assert aliases, not separate issues. Entries MUST be unique by scheme and identifier and use the assigning authority's canonical spelling.
summarystringOptionalmaxLength:3000maxGraphemes:300
Optional concise human-readable description of the vulnerability's relevance or impact on this version. It does not replace the authoritative identifier records.
referencesarrayOptionalmaxLength:20items.format:uri
Optional supporting or authoritative URIs for this vulnerability. Entries MUST be unique; consumers MUST treat their contents as external information rather than part of this immutable event.
#vulnerabilityIdentifierobject

A vulnerability identifier qualified by its naming scheme. The scheme vocabulary is open so identifiers from additional authorities can be represented without a Lexicon revision.

schemestringRequiredminLength:1maxLength:64knownValues:cve, ghsa, osv
Lowercase identifier scheme or assigning authority. cve denotes CVE IDs, ghsa denotes GitHub Security Advisory IDs, and osv denotes OSV IDs. Known values are not exhaustive; consumers MUST preserve unknown schemes and MUST NOT reinterpret them as a known scheme.
identifierstringRequiredminLength:1maxLength:256
Identifier in the scheme's canonical spelling, without adding or removing a scheme prefix defined by that authority. Consumers MUST compare it according to the named scheme rather than assuming universal case or normalization rules.
#compromisedobject

The version as a whole is known or reasonably believed to have been produced, published, or distributed under unauthorized control.

descriptionstringRequiredmaxLength:3000minGraphemes:1maxGraphemes:300
State the basis and scope of the compromise determination. MUST NOT be whitespace-only.
#artifactCompromisedobject

A specific declared artifact is known or reasonably believed to contain unauthorized or malicious content despite retaining its declared identity.

artifactstringcidRequired
CID of the affected artifact bytes as declared by the manifest.
descriptionstringRequiredmaxLength:3000minGraphemes:1maxGraphemes:300
State the basis and scope of the artifact compromise determination. MUST NOT be whitespace-only.
#integrityFailureobject

Bytes obtained for a declared artifact failed verification against the manifest's expected CID or size. This reports a verification failure and does not redefine the artifact.

artifactstringcidRequired
Expected CID of the artifact as declared by the manifest.
observedCidstringcidOptional
CID of the bytes actually obtained, when complete bytes were available to hash.
descriptionstringRequiredmaxLength:3000minGraphemes:1maxGraphemes:300
Identify the failed check and affected location. MUST NOT be whitespace-only.
#credentialCompromiseobject

A credential used to build, sign, publish, or distribute this version is known or reasonably believed to have been compromised.

descriptionstringRequiredmaxLength:3000minGraphemes:1maxGraphemes:300
Describe the affected credential class and impact. MUST NOT be whitespace-only or include secrets.