Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53663?format=api",
    "purl": "pkg:maven/org.apache.hadoop/hadoop-common@3.0.1",
    "type": "maven",
    "namespace": "org.apache.hadoop",
    "name": "hadoop-common",
    "version": "3.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.1.1",
    "latest_non_vulnerable_version": "3.3.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38639?format=api",
            "vulnerability_id": "VCID-bvx1-94m9-7ygh",
            "summary": "Privilege escalation\nThe `LinuxContainerExecutor` runs docker commands as root with insufficient input validation. When the docker feature is enabled, authenticated users can run commands as root.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1448373",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1448373"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7669",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7669"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2017/q2/394",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2017/q2/394"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/98795",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/98795"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7669",
                    "reference_id": "CVE-2017-7669",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7669"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53662?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.8.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.8.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53663?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-common@3.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@3.0.1"
                }
            ],
            "aliases": [
                "CVE-2017-7669"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bvx1-94m9-7ygh"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39317?format=api",
            "vulnerability_id": "VCID-ryz9-55qq-cyd9",
            "summary": "Information Exposure\nVulnerability in Apache Hadoop allows a cluster user to expose private files owned by the user running the `MapReduce` job history server process. The malicious user can construct a configuration file containing XML directives that reference sensitive files on the `MapReduce` job history server host.",
            "references": [
                {
                    "reference_url": "https://lists.apache.org/thread.html/a790a251ace7213bde9f69777dedb453b1a01a6d18289c14a61d4f91@%3Cgeneral.hadoop.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/a790a251ace7213bde9f69777dedb453b1a01a6d18289c14a61d4f91@%3Cgeneral.hadoop.apache.org%3E"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15713",
                    "reference_id": "CVE-2017-15713",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15713"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3v44-382q-55f4",
                    "reference_id": "GHSA-3v44-382q-55f4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3v44-382q-55f4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54873?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.8.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.8.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53663?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-common@3.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@3.0.1"
                }
            ],
            "aliases": [
                "CVE-2017-15713",
                "GHSA-3v44-382q-55f4"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ryz9-55qq-cyd9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@3.0.1"
}