Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2019-14671"
        },
        {
            "alias": "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58957?format=api",
            "purl": "pkg:composer/grumpydictator/firefly-iii@4.7.17%2B3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-v5yd-vwys-f7hv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/grumpydictator/firefly-iii@4.7.17%252B3"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v5yd-vwys-f7hv"
}