Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52744?format=api",
    "purl": "pkg:maven/org.apache.pdfbox/pdfbox@2.0.0",
    "type": "maven",
    "namespace": "org.apache.pdfbox",
    "name": "pdfbox",
    "version": "2.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.0.1",
    "latest_non_vulnerable_version": "2.0.15",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38132?format=api",
            "vulnerability_id": "VCID-jac2-1kyc-zuhh",
            "summary": "Improper Restriction of XML External Entity Reference\nApache PDFBox does not properly initialize the XML parsers, which allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted PDF.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2175",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-2175"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2175",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2175"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/PDFBOX-2852",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/PDFBOX-2852"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52746?format=api",
                    "purl": "pkg:maven/org.apache.pdfbox/pdfbox@2.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@2.0.1"
                }
            ],
            "aliases": [
                "CVE-2016-2175"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jac2-1kyc-zuhh"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40036?format=api",
            "vulnerability_id": "VCID-x3mz-kw7r-9bcg",
            "summary": "Loop with Unreachable Exit Condition (Infinite Loop)\nIn Apache PDFBox, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in the `AFMParser`.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8036",
                    "reference_id": "CVE-2018-8036",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8036"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56005?format=api",
                    "purl": "pkg:maven/org.apache.pdfbox/pdfbox@2.0.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-qu7g-tuf1-87ab"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@2.0.11"
                }
            ],
            "aliases": [
                "CVE-2018-8036"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x3mz-kw7r-9bcg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.pdfbox/pdfbox@2.0.0"
}