Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58958?format=api",
    "purl": "pkg:composer/grumpydictator/firefly-iii@4.7.17%2B4",
    "type": "composer",
    "namespace": "grumpydictator",
    "name": "firefly-iii",
    "version": "4.7.17+4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.7.17+4",
    "latest_non_vulnerable_version": "6.5.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41445?format=api",
            "vulnerability_id": "VCID-v5yd-vwys-f7hv",
            "summary": "Improper Input Validation\nFirefly III 4.7.17.3 is vulnerable to local file enumeration. An attacker can enumerate local files due to the lack of protocol scheme sanitization, such as for file:/// URLs. This is related to fints_url to import/job/configuration, and import/create/fints.",
            "references": [
                {
                    "reference_url": "https://github.com/firefly-iii/firefly-iii/commit/e80d616ef4397e6e764f6b7b7a5b30121244933c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/firefly-iii/firefly-iii/commit/e80d616ef4397e6e764f6b7b7a5b30121244933c"
                },
                {
                    "reference_url": "https://github.com/firefly-iii/firefly-iii/issues/2367",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/firefly-iii/firefly-iii/issues/2367"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14671",
                    "reference_id": "CVE-2019-14671",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14671"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jjcx-999m-35hc",
                    "reference_id": "GHSA-jjcx-999m-35hc",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jjcx-999m-35hc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58958?format=api",
                    "purl": "pkg:composer/grumpydictator/firefly-iii@4.7.17%2B4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/grumpydictator/firefly-iii@4.7.17%252B4"
                }
            ],
            "aliases": [
                "CVE-2019-14671",
                "GHSA-jjcx-999m-35hc"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v5yd-vwys-f7hv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/grumpydictator/firefly-iii@4.7.17%252B4"
}