Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55491?format=api",
    "purl": "pkg:gem/jekyll@3.7.3",
    "type": "gem",
    "namespace": "",
    "name": "jekyll",
    "version": "3.7.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.6.3",
    "latest_non_vulnerable_version": "3.8.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12962?format=api",
            "vulnerability_id": "VCID-j47z-23xq-sqbm",
            "summary": "Improper Link Resolution Before File Access\nJekyll allows attackers to access arbitrary files by specifying a symlink in the `include` key in the `_config.yml` file.",
            "references": [
                {
                    "reference_url": "https://jekyllrb.com/news/2018/09/19/security-fixes-for-3-6-3-7-3-8/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jekyllrb.com/news/2018/09/19/security-fixes-for-3-6-3-7-3-8/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17567",
                    "reference_id": "CVE-2018-17567",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17567"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55495?format=api",
                    "purl": "pkg:gem/jekyll@3.7.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/jekyll@3.7.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55496?format=api",
                    "purl": "pkg:gem/jekyll@3.8.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/jekyll@3.8.4"
                }
            ],
            "aliases": [
                "CVE-2018-17567"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j47z-23xq-sqbm"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/jekyll@3.7.3"
}