Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56659?format=api",
    "purl": "pkg:maven/org.apache.camel/camel-mail@2.22.0",
    "type": "maven",
    "namespace": "org.apache.camel",
    "name": "camel-mail",
    "version": "2.22.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.22.1",
    "latest_non_vulnerable_version": "2.22.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40244?format=api",
            "vulnerability_id": "VCID-sy7j-en6c-97ey",
            "summary": "Path Traversal\nApache Camel Mail is vulnerable to path traversal.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3768",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3768"
                },
                {
                    "reference_url": "https://issues.apache.org/jira/browse/CAMEL-12630",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/CAMEL-12630"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d@%3Ccommits.camel.apache.org%3E"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/105352",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/105352"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8041",
                    "reference_id": "CVE-2018-8041",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8041"
                },
                {
                    "reference_url": "http://camel.apache.org/security-advisories.data/CVE-2018-8041.txt.asc?version=1&modificationDate=1536746339000&api=v2",
                    "reference_id": "CVE-2018-8041.TXT.ASC?VERSION=1&MODIFICATIONDATE=1536746339000&API=V2",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://camel.apache.org/security-advisories.data/CVE-2018-8041.txt.asc?version=1&modificationDate=1536746339000&api=v2"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jv74-f9pj-xp3f",
                    "reference_id": "GHSA-jv74-f9pj-xp3f",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jv74-f9pj-xp3f"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56661?format=api",
                    "purl": "pkg:maven/org.apache.camel/camel-mail@2.22.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-mail@2.22.1"
                }
            ],
            "aliases": [
                "CVE-2018-8041",
                "GHSA-jv74-f9pj-xp3f"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sy7j-en6c-97ey"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.camel/camel-mail@2.22.0"
}