GitHub Enterprise · Schema

OSV Vulnerability

A vulnerability in OSV (Open Source Vulnerability) format

Version ControlDevOpsCI/CDCode HostingEnterpriseSelf-HostedSAML SSOSCIMAdvanced SecurityDeveloper Tools

Properties

Name Type Description
id string Unique identifier for the vulnerability from the external system
schema_version string The OSV schema version
summary string A short summary of the vulnerability
details string Detailed description of the vulnerability
aliases array IDs for the same vulnerability in other databases. Only CVE IDs are used (to populate the vulnerability's CVE identifier); other aliases are ignored.
severity array Severity information for the vulnerability
affected array Packages and versions affected by the vulnerability
references array URLs for more information about the vulnerability
published string When the vulnerability was first published
modified string When the vulnerability was last modified
withdrawn string When the vulnerability was withdrawn. If present, the vulnerability will be marked as withdrawn.
View JSON Schema on GitHub

JSON Schema

github-enterprise-osv-vulnerability-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-osv-vulnerability-schema.json",
  "title": "OSV Vulnerability",
  "description": "A vulnerability in OSV (Open Source Vulnerability) format",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-enterprise-enterprise-admin-api-openapi.yml#/components/schemas/osv-vulnerability",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the vulnerability from the external system"
    },
    "schema_version": {
      "type": "string",
      "description": "The OSV schema version"
    },
    "summary": {
      "type": "string",
      "description": "A short summary of the vulnerability"
    },
    "details": {
      "type": "string",
      "description": "Detailed description of the vulnerability"
    },
    "aliases": {
      "type": "array",
      "description": "IDs for the same vulnerability in other databases. Only CVE IDs are used (to populate the vulnerability's CVE identifier); other aliases are ignored.",
      "items": {
        "type": "string"
      }
    },
    "severity": {
      "type": "array",
      "description": "Severity information for the vulnerability",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of severity scoring (e.g., CVSS_V3)"
          },
          "score": {
            "type": "string",
            "description": "The severity score or vector string"
          }
        }
      }
    },
    "affected": {
      "type": "array",
      "description": "Packages and versions affected by the vulnerability",
      "items": {
        "type": "object",
        "properties": {
          "package": {
            "type": "object",
            "properties": {
              "ecosystem": {
                "type": "string",
                "description": "The package ecosystem (e.g., npm, pip, maven)"
              },
              "name": {
                "type": "string",
                "description": "The package name"
              }
            }
          },
          "ranges": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "events": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "introduced": {
                        "type": "string",
                        "description": "The version that introduced the vulnerability"
                      },
                      "fixed": {
                        "type": "string",
                        "description": "The version that fixed the vulnerability"
                      },
                      "last_affected": {
                        "type": "string",
                        "description": "The last affected version"
                      },
                      "limit": {
                        "type": "string",
                        "description": "The upper limit of the affected range"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "references": {
      "type": "array",
      "description": "URLs for more information about the vulnerability",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of reference. Supported values: PACKAGE, ADVISORY, WEB, FIX, ARTICLE, REPORT, EVIDENCE. References with other types are ignored."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The reference URL"
          }
        }
      }
    },
    "published": {
      "type": "string",
      "format": "date-time",
      "description": "When the vulnerability was first published"
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "When the vulnerability was last modified"
    },
    "withdrawn": {
      "type": "string",
      "format": "date-time",
      "description": "When the vulnerability was withdrawn. If present, the vulnerability will be marked as withdrawn."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-enterprise-osv-vulnerability"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.