Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57409?format=api",
    "purl": "pkg:pypi/pyspark@1.0.2",
    "type": "pypi",
    "namespace": "",
    "name": "pyspark",
    "version": "1.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.4.4",
    "latest_non_vulnerable_version": "3.5.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35317?format=api",
            "vulnerability_id": "VCID-mmf5-ctmn-b3ep",
            "summary": "When using PySpark , it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application. This affects versions 1.x, 2.0.x, 2.1.x, 2.2.0 to 2.2.2, and 2.3.0 to 2.3.1.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-fvxv-9xxr-h7wj",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fvxv-9xxr-h7wj"
                },
                {
                    "reference_url": "https://github.com/apache/spark",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/spark"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2019-169.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2019-169.yaml"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/6d015e56b3a3da968f86e0b6acc69f17ecc16b499389e12d8255bf6e@%3Ccommits.spark.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/6d015e56b3a3da968f86e0b6acc69f17ecc16b499389e12d8255bf6e@%3Ccommits.spark.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/a86ee93d07b6f61b82b61a28049aed311f5cc9420d26cc95f1a9de7b@%3Cuser.spark.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/a86ee93d07b6f61b82b61a28049aed311f5cc9420d26cc95f1a9de7b@%3Cuser.spark.apache.org%3E"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227091119/http://www.securityfocus.com/bid/106786",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227091119/http://www.securityfocus.com/bid/106786"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200925111106/https://issues.apache.org/jira/browse/SPARK-26802",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200925111106/https://issues.apache.org/jira/browse/SPARK-26802"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/106786",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106786"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11760",
                    "reference_id": "CVE-2018-11760",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11760"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12870?format=api",
                    "purl": "pkg:pypi/pyspark@2.2.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4rcx-smaw-c3an"
                        },
                        {
                            "vulnerability": "VCID-713x-tc78-rua3"
                        },
                        {
                            "vulnerability": "VCID-adsy-uby8-gkc9"
                        },
                        {
                            "vulnerability": "VCID-dwzq-skka-qkhj"
                        },
                        {
                            "vulnerability": "VCID-ntyz-qt6e-vqf3"
                        },
                        {
                            "vulnerability": "VCID-pue3-vp1e-xkat"
                        },
                        {
                            "vulnerability": "VCID-sr15-sfp8-vkfg"
                        },
                        {
                            "vulnerability": "VCID-xxtq-3ec6-m7hj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@2.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12869?format=api",
                    "purl": "pkg:pypi/pyspark@2.3.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4rcx-smaw-c3an"
                        },
                        {
                            "vulnerability": "VCID-713x-tc78-rua3"
                        },
                        {
                            "vulnerability": "VCID-adsy-uby8-gkc9"
                        },
                        {
                            "vulnerability": "VCID-dwzq-skka-qkhj"
                        },
                        {
                            "vulnerability": "VCID-ntyz-qt6e-vqf3"
                        },
                        {
                            "vulnerability": "VCID-pue3-vp1e-xkat"
                        },
                        {
                            "vulnerability": "VCID-sr15-sfp8-vkfg"
                        },
                        {
                            "vulnerability": "VCID-xxtq-3ec6-m7hj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@2.3.2"
                }
            ],
            "aliases": [
                "CVE-2018-11760",
                "GHSA-fvxv-9xxr-h7wj",
                "PYSEC-2019-169"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mmf5-ctmn-b3ep"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@1.0.2"
}