Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56419?format=api",
    "purl": "pkg:composer/webtales/rubedo@3.4.0",
    "type": "composer",
    "namespace": "webtales",
    "name": "rubedo",
    "version": "3.4.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40224?format=api",
            "vulnerability_id": "VCID-vry8-fuwr-pqdb",
            "summary": "Path Traversal\nRubedo contains a Directory Traversal vulnerability in the theme component, allowing unauthenticated attackers to read and execute arbitrary files outside the service root path.",
            "references": [
                {
                    "reference_url": "https://www.exploit-db.com/exploits/45385/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/45385/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16836",
                    "reference_id": "CVE-2018-16836",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16836"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-16836"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vry8-fuwr-pqdb"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/webtales/rubedo@3.4.0"
}