Lookup for vulnerable packages by Package URL.

GET /api/packages/58791?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/58791?format=api",
    "purl": "pkg:pypi/tensorflow@2.6.0rc0",
    "type": "pypi",
    "namespace": "",
    "name": "tensorflow",
    "version": "2.6.0rc0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.6.0rc2",
    "latest_non_vulnerable_version": "2.12.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3666?format=api",
            "vulnerability_id": "VCID-7mym-t3x9-1kba",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-599.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-599.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-797.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-797.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-308.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-308.yaml"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/commit/dfa22b348b70bb89d6d6ec0ff53973bacb4f4695",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/commit/dfa22b348b70bb89d6d6ec0ff53973bacb4f4695"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.3.4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.3.4"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.4.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.4.3"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.5.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.5.1"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.6.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.6.0"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-mhhc-q96p-mfm9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-mhhc-q96p-mfm9"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2292",
                    "reference_id": "AVG-2292",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2292"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37686",
                    "reference_id": "CVE-2021-37686",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37686"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mhhc-q96p-mfm9",
                    "reference_id": "GHSA-mhhc-q96p-mfm9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mhhc-q96p-mfm9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58792?format=api",
                    "purl": "pkg:pypi/tensorflow@2.6.0rc2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tensorflow@2.6.0rc2"
                }
            ],
            "aliases": [
                "CVE-2021-37686",
                "GHSA-mhhc-q96p-mfm9",
                "PYSEC-2021-308",
                "PYSEC-2021-599",
                "PYSEC-2021-797"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7mym-t3x9-1kba"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tensorflow@2.6.0rc0"
}