Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57581?format=api",
    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@2.2.2",
    "type": "maven",
    "namespace": "org.apache.spark",
    "name": "spark-core_2.11",
    "version": "2.2.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.1",
    "latest_non_vulnerable_version": "2.3.1",
    "affected_by_vulnerabilities": [],
    "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/57580?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@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.11@2.1.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57581?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@2.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.11@2.2.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57582?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@2.3.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.11@2.3.1"
                }
            ],
            "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/57580?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@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.11@2.1.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57581?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@2.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.11@2.2.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57582?format=api",
                    "purl": "pkg:maven/org.apache.spark/spark-core_2.11@2.3.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.11@2.3.1"
                }
            ],
            "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.11@2.2.2"
}