Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58783?format=api",
    "purl": "pkg:pypi/tflite@2.3.4",
    "type": "pypi",
    "namespace": "",
    "name": "tflite",
    "version": "2.3.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.4.3",
    "latest_non_vulnerable_version": "2.5.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3663?format=api",
            "vulnerability_id": "VCID-xt2w-1h6g-2qe5",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-602.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-602.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-800.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-800.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-311.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-311.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/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/compiler/mlir/lite/transforms/optimize.cc#L67-L70",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/blob/149562d49faa709ea80df1d99fc41d005b81082a/tensorflow/compiler/mlir/lite/transforms/optimize.cc#L67-L70"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/commit/d6b57f461b39fd1aa8c1b870f1b974aac3554955",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/commit/d6b57f461b39fd1aa8c1b870f1b974aac3554955"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-wf5p-c75w-w3wh",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-wf5p-c75w-w3wh"
                },
                {
                    "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-37689",
                    "reference_id": "CVE-2021-37689",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37689"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wf5p-c75w-w3wh",
                    "reference_id": "GHSA-wf5p-c75w-w3wh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wf5p-c75w-w3wh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58783?format=api",
                    "purl": "pkg:pypi/tflite@2.3.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tflite@2.3.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58784?format=api",
                    "purl": "pkg:pypi/tflite@2.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tflite@2.4.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58785?format=api",
                    "purl": "pkg:pypi/tflite@2.5.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tflite@2.5.1"
                }
            ],
            "aliases": [
                "CVE-2021-37689",
                "GHSA-wf5p-c75w-w3wh",
                "PYSEC-2021-311",
                "PYSEC-2021-602",
                "PYSEC-2021-800"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xt2w-1h6g-2qe5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tflite@2.3.4"
}