Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56988?format=api",
    "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.2.2",
    "type": "maven",
    "namespace": "org.apache.spark",
    "name": "spark-core_2.10",
    "version": "2.2.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40165?format=api",
            "vulnerability_id": "VCID-8fxy-5cvh-vfag",
            "summary": "Improper Authentication\nApache Spark standalone master exposes a REST API for job submission, in addition to the submission mechanism used by spark-submit. In standalone, the config property `spark.authenticate.secret` establishes a shared secret for authenticating requests to submit jobs via spark-submit. However, the REST API does not use this or any other authentication mechanism, and this is not adequately documented. In this case, a user would be able to run a driver program without authenticating, but not launch executors, using the REST API.",
            "references": [
                {
                    "reference_url": "https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E"
                },
                {
                    "reference_url": "https://spark.apache.org/security.html#CVE-2018-11770",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://spark.apache.org/security.html#CVE-2018-11770"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/105097",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/105097"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11770",
                    "reference_id": "CVE-2018-11770",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11770"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w4r4-65mg-45x2",
                    "reference_id": "GHSA-w4r4-65mg-45x2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-w4r4-65mg-45x2"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-11770",
                "GHSA-w4r4-65mg-45x2"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8fxy-5cvh-vfag"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35229?format=api",
            "vulnerability_id": "VCID-3gwu-myk4-ufdj",
            "summary": "In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2018-25.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2018-25.yaml"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060@%3Cdev.spark.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060@%3Cdev.spark.apache.org%3E"
                },
                {
                    "reference_url": "https://spark.apache.org/security.html#CVE-2018-1334",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://spark.apache.org/security.html#CVE-2018-1334"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1334",
                    "reference_id": "CVE-2018-1334",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1334"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6mqq-8r44-vmjc",
                    "reference_id": "GHSA-6mqq-8r44-vmjc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6mqq-8r44-vmjc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57584?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.1.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-k96c-fsnj-sfbq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.1.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56988?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.2.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-8fxy-5cvh-vfag"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.2.2"
                }
            ],
            "aliases": [
                "CVE-2018-1334",
                "GHSA-6mqq-8r44-vmjc",
                "PYSEC-2018-25"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3gwu-myk4-ufdj"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40080?format=api",
            "vulnerability_id": "VCID-hx6d-5966-dbgx",
            "summary": "Information Exposure\nIn Apache Spark it is possible for a malicious user to construct a URL pointing to a Spark cluster UI job and stage info pages, and if a user can be tricked into accessing the URL, can be used to cause script to execute and expose information from the user view of the Spark UI. While some browsers like recent versions of Chrome and Safari are able to block this type of attack, current versions of Firefox (and possibly others) do not.",
            "references": [
                {
                    "reference_url": "https://lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba@%3Cdev.spark.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/5f241d2cda21cbcb3b63e46e474cf5f50cce66927f08399f4fab0aba@%3Cdev.spark.apache.org%3E"
                },
                {
                    "reference_url": "https://spark.apache.org/security.html#CVE-2018-8024",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://spark.apache.org/security.html#CVE-2018-8024"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8024",
                    "reference_id": "CVE-2018-8024",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8024"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8cw6-5qvp-q3wj",
                    "reference_id": "GHSA-8cw6-5qvp-q3wj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8cw6-5qvp-q3wj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57584?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.1.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-k96c-fsnj-sfbq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.1.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56988?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.2.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-8fxy-5cvh-vfag"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.2.2"
                }
            ],
            "aliases": [
                "CVE-2018-8024",
                "GHSA-8cw6-5qvp-q3wj"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hx6d-5966-dbgx"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.2.2"
}