Get Advisory by ID
curl --request GET \
--url https://anaconda.com/api/v1/advisories/{advisory_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://anaconda.com/api/v1/advisories/{advisory_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://anaconda.com/api/v1/advisories/{advisory_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://anaconda.com/api/v1/advisories/{advisory_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://anaconda.com/api/v1/advisories/{advisory_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://anaconda.com/api/v1/advisories/{advisory_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://anaconda.com/api/v1/advisories/{advisory_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"advisory_id": "CVE-2021-41217",
"canonical": {
"aliases": [
"CVE-2021-41217"
],
"description": "TensorFlow is an open source platform for machine learning. In affected versions, the code for boosted trees in TensorFlow is vulnerable to a null pointer dereference...",
"severity": {
"score": 5.5
},
"cwes": [
"CWE-476"
],
"artifact_sha256s": [
"9376685c2d5bbb4479e7975a689e6e8ee6926882392cd573029a772b3b39cdcc"
],
"purls": [
"pkg:conda/main/tensorflow@2.6.0?..."
],
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.2"
},
{
"introduced": "2.8.0"
},
{
"fixed": "2.8.1"
},
{
"introduced": "2.9.0"
},
{
"fixed": "2.9.1"
},
{
"introduced": "2.10.0rc0"
},
{
"last_affected": "2.10.0rc3"
}
]
}
],
"timestamps": {
"published_at": "2021-11-05T21:15:09.073Z",
"modified_at": "2021-11-09T16:06:40.757Z",
"anaconda_modified_at": "2021-12-13T00:00:00Z",
"effective_modified_at": "2021-12-13T00:00:00Z",
"created_at": "2025-12-05T21:23:25.152571Z",
"updated_at": "2026-04-01T04:07:07.349Z"
},
"is_curated": true
},
"representations": {
"nvdv2": {
"cve": {
"id": "CVE-2021-41217",
"sourceIdentifier": "security-advisories@github.com",
"published": "2021-11-05T21:15:09.073Z",
"lastModified": "2021-11-09T16:06:40.757Z",
"vulnStatus": "Analyzed"
}
}
}
}{
"error": {
"code": "auth_required",
"message": "Authentication is required to access this resource."
}
}{
"error": {
"code": "access_denied",
"message": "Access forbidden"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}{
"error": {
"code": "internal_error",
"message": "Something went wrong"
}
}Get Advisory by ID
Retrieve a single advisory by its identifier
GET
/
api
/
v1
/
advisories
/
{advisory_id}
Get Advisory by ID
curl --request GET \
--url https://anaconda.com/api/v1/advisories/{advisory_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://anaconda.com/api/v1/advisories/{advisory_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://anaconda.com/api/v1/advisories/{advisory_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://anaconda.com/api/v1/advisories/{advisory_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://anaconda.com/api/v1/advisories/{advisory_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://anaconda.com/api/v1/advisories/{advisory_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://anaconda.com/api/v1/advisories/{advisory_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"advisory_id": "CVE-2021-41217",
"canonical": {
"aliases": [
"CVE-2021-41217"
],
"description": "TensorFlow is an open source platform for machine learning. In affected versions, the code for boosted trees in TensorFlow is vulnerable to a null pointer dereference...",
"severity": {
"score": 5.5
},
"cwes": [
"CWE-476"
],
"artifact_sha256s": [
"9376685c2d5bbb4479e7975a689e6e8ee6926882392cd573029a772b3b39cdcc"
],
"purls": [
"pkg:conda/main/tensorflow@2.6.0?..."
],
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.2"
},
{
"introduced": "2.8.0"
},
{
"fixed": "2.8.1"
},
{
"introduced": "2.9.0"
},
{
"fixed": "2.9.1"
},
{
"introduced": "2.10.0rc0"
},
{
"last_affected": "2.10.0rc3"
}
]
}
],
"timestamps": {
"published_at": "2021-11-05T21:15:09.073Z",
"modified_at": "2021-11-09T16:06:40.757Z",
"anaconda_modified_at": "2021-12-13T00:00:00Z",
"effective_modified_at": "2021-12-13T00:00:00Z",
"created_at": "2025-12-05T21:23:25.152571Z",
"updated_at": "2026-04-01T04:07:07.349Z"
},
"is_curated": true
},
"representations": {
"nvdv2": {
"cve": {
"id": "CVE-2021-41217",
"sourceIdentifier": "security-advisories@github.com",
"published": "2021-11-05T21:15:09.073Z",
"lastModified": "2021-11-09T16:06:40.757Z",
"vulnStatus": "Analyzed"
}
}
}
}{
"error": {
"code": "auth_required",
"message": "Authentication is required to access this resource."
}
}{
"error": {
"code": "access_denied",
"message": "Access forbidden"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}{
"error": {
"code": "internal_error",
"message": "Something went wrong"
}
}Authorizations
Bearer token obtained by authenticating with your organization's service account credentials (client_id and client_secret).
See the Getting started page for the full authentication flow.
Path Parameters
The advisory identifier.
Minimum string length:
1Example:
"CVE-2021-41217"
Response
The requested advisory. The example is abbreviated: purls entries are trimmed, and representations.nvdv2 contains the advisory's complete NVD 2.0 document.
The unique identifier for this advisory, typically a CVE ID.
Example:
"CVE-2021-41217"
The normalized, format-independent representation of an advisory.
Show child attributes
Show child attributes
Contains the advisory data in one or more format-specific representations (for example, nvdv2).
Show child attributes
Show child attributes
Was this page helpful?