title: Go Vulnerability Database API layout: article

Overview

The Go vulnerability database is rooted at https://vuln.go.dev and provides data as JSON. We recommend using client.Client to read data from the Go vulnerability database.

Do not rely on the contents of the x/vulndb repository. The YAML files in that repository are maintained using an internal format that is subject to change without warning.

API

The endpoints in the table below are supported. For each path:

  • $base is the path portion of a Go vulnerability database URL (https://vuln.go.dev).
  • $module is a module path
  • $vuln is a Go vulnerability ID (for example, GO-2021-1234)

Note that these paths and format are provisional and likely to change until an approved proposal.