Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/26600?format=api",
    "purl": "pkg:pypi/tensorflow-cpu@2.8.0",
    "type": "pypi",
    "namespace": "",
    "name": "tensorflow-cpu",
    "version": "2.8.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.11.1",
    "latest_non_vulnerable_version": "2.11.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36005?format=api",
            "vulnerability_id": "VCID-d3k4-z4f1-hfhy",
            "summary": "Tensorflow is an Open Source Machine Learning Framework. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a `DCHECK` (which is a no-op during production). An attacker can control the `input_idx` variable such that `ix` would be larger than the number of values in `node_t.args`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-101.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-101.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-156.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-156.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/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23592",
                    "reference_id": "CVE-2022-23592",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23592"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vq36-27g6-p492",
                    "reference_id": "GHSA-vq36-27g6-p492",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vq36-27g6-p492"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/26600?format=api",
                    "purl": "pkg:pypi/tensorflow-cpu@2.8.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tensorflow-cpu@2.8.0"
                }
            ],
            "aliases": [
                "CVE-2022-23592",
                "GHSA-vq36-27g6-p492",
                "PYSEC-2022-101",
                "PYSEC-2022-156"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d3k4-z4f1-hfhy"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36015?format=api",
            "vulnerability_id": "VCID-hcud-kg7b-zyhx",
            "summary": "Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are scalar, then `maxRank` is 0, so we build an empty `SmallVector`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-102.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-102.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-157.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-157.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/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/compiler/mlir/tfrt/jit/transforms/tf_cpurt_symbolic_shape_optimization.cc#L149-L205",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/compiler/mlir/tfrt/jit/transforms/tf_cpurt_symbolic_shape_optimization.cc#L149-L205"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/commit/35f0fabb4c178253a964d7aabdbb15c6a398b69a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/commit/35f0fabb4c178253a964d7aabdbb15c6a398b69a"
                },
                {
                    "reference_url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gwcx-jrx4-92w2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gwcx-jrx4-92w2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23593",
                    "reference_id": "CVE-2022-23593",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23593"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gwcx-jrx4-92w2",
                    "reference_id": "GHSA-gwcx-jrx4-92w2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gwcx-jrx4-92w2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/26600?format=api",
                    "purl": "pkg:pypi/tensorflow-cpu@2.8.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tensorflow-cpu@2.8.0"
                }
            ],
            "aliases": [
                "CVE-2022-23593",
                "GHSA-gwcx-jrx4-92w2",
                "PYSEC-2022-102",
                "PYSEC-2022-157"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hcud-kg7b-zyhx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/tensorflow-cpu@2.8.0"
}