Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52303?format=api",
    "purl": "pkg:maven/org.apache.camel/camel-core@2.13.4",
    "type": "maven",
    "namespace": "org.apache.camel",
    "name": "camel-core",
    "version": "2.13.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.14.2",
    "latest_non_vulnerable_version": "4.4.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37862?format=api",
            "vulnerability_id": "VCID-6fge-cvwc-bbgc",
            "summary": "XXE in Apache Camel\nMultiple XML external entity (XXE) vulnerabilities in `builder/xml/XPathBuilder.java` in this package allow remote attackers to read arbitrary files via an external entity in an invalid XML String or GenericFile object in an XPath query.",
            "references": [
                {
                    "reference_url": "http://camel.apache.org/security-advisories.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://camel.apache.org/security-advisories.html"
                },
                {
                    "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0264",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0264"
                },
                {
                    "reference_url": "https://camel.apache.org/security-advisories.data/CVE-2015-0264.txt.asc?version=1&modificationDate=1426539191000&api=v2",
                    "reference_id": "CVE-2015-0264.TXT.ASC?VERSION=1&MODIFICATIONDATE=1426539191000&API=V2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://camel.apache.org/security-advisories.data/CVE-2015-0264.txt.asc?version=1&modificationDate=1426539191000&api=v2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52303?format=api",
                    "purl": "pkg:maven/org.apache.camel/camel-core@2.13.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.13.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52304?format=api",
                    "purl": "pkg:maven/org.apache.camel/camel-core@2.14.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.14.2"
                }
            ],
            "aliases": [
                "CVE-2015-0264"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6fge-cvwc-bbgc"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37863?format=api",
            "vulnerability_id": "VCID-caw1-1xnz-yufc",
            "summary": "XXE in Apache Camel\nXML external entity (XXE) vulnerability in the XML converter setup in `converter/jaxp/XmlConverter.java` in this package allows remote attackers to read arbitrary files via an external entity in an SAXSource.",
            "references": [
                {
                    "reference_url": "http://camel.apache.org/security-advisories.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://camel.apache.org/security-advisories.html"
                },
                {
                    "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0263",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0263"
                },
                {
                    "reference_url": "http://camel.apache.org/security-advisories.data/CVE-2015-0263.txt.asc?version=1&modificationDate=1426539178000&api=v2",
                    "reference_id": "CVE-2015-0263.TXT.ASC?VERSION=1&MODIFICATIONDATE=1426539178000&API=V2",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://camel.apache.org/security-advisories.data/CVE-2015-0263.txt.asc?version=1&modificationDate=1426539178000&api=v2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52303?format=api",
                    "purl": "pkg:maven/org.apache.camel/camel-core@2.13.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.13.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52304?format=api",
                    "purl": "pkg:maven/org.apache.camel/camel-core@2.14.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.14.2"
                }
            ],
            "aliases": [
                "CVE-2015-0263"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-caw1-1xnz-yufc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-core@2.13.4"
}