Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38525?format=api",
    "vulnerability_id": "VCID-2qjr-wjh1-8fh6",
    "summary": "Information Exposure\nIn Moodle global search displays user names for unauthenticated users.",
    "aliases": [
        {
            "alias": "CVE-2017-2643"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53388?format=api",
            "purl": "pkg:composer/moodle/moodle@3.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2dxb-v1af-jbax"
                },
                {
                    "vulnerability": "VCID-5rbf-4dz3-2qdz"
                },
                {
                    "vulnerability": "VCID-b1q7-u3cx-ukej"
                },
                {
                    "vulnerability": "VCID-vtq4-fpr8-hudb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.2.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53200?format=api",
            "purl": "pkg:composer/moodle/moodle@3.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2dxb-v1af-jbax"
                },
                {
                    "vulnerability": "VCID-2qjr-wjh1-8fh6"
                },
                {
                    "vulnerability": "VCID-5rbf-4dz3-2qdz"
                },
                {
                    "vulnerability": "VCID-65y9-9ur2-pugc"
                },
                {
                    "vulnerability": "VCID-83kb-4mk9-t7ge"
                },
                {
                    "vulnerability": "VCID-9nd7-4wve-97hc"
                },
                {
                    "vulnerability": "VCID-ajkr-fxa1-mkhk"
                },
                {
                    "vulnerability": "VCID-b7br-bh2d-rygp"
                },
                {
                    "vulnerability": "VCID-ckg1-9vpt-yfdk"
                },
                {
                    "vulnerability": "VCID-dhku-uah4-ykh8"
                },
                {
                    "vulnerability": "VCID-duna-st9c-mqbk"
                },
                {
                    "vulnerability": "VCID-e2zc-7ujn-wybu"
                },
                {
                    "vulnerability": "VCID-fegs-ubsk-63hu"
                },
                {
                    "vulnerability": "VCID-g8ct-c4ce-zuaf"
                },
                {
                    "vulnerability": "VCID-jn5n-6hg9-tyf7"
                },
                {
                    "vulnerability": "VCID-m4zv-e3dn-budf"
                },
                {
                    "vulnerability": "VCID-nc2j-pay7-ryab"
                },
                {
                    "vulnerability": "VCID-p2gd-7uam-mqf8"
                },
                {
                    "vulnerability": "VCID-q2fa-jymp-c3bb"
                },
                {
                    "vulnerability": "VCID-vtq4-fpr8-hudb"
                },
                {
                    "vulnerability": "VCID-x927-nh46-7fdy"
                },
                {
                    "vulnerability": "VCID-yghg-775s-vber"
                },
                {
                    "vulnerability": "VCID-yp82-zj5g-pbaf"
                },
                {
                    "vulnerability": "VCID-zgzm-wj81-jkah"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53202?format=api",
            "purl": "pkg:composer/moodle/moodle@3.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2qjr-wjh1-8fh6"
                },
                {
                    "vulnerability": "VCID-dhku-uah4-ykh8"
                },
                {
                    "vulnerability": "VCID-jn5n-6hg9-tyf7"
                },
                {
                    "vulnerability": "VCID-x927-nh46-7fdy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.2.1"
        }
    ],
    "references": [
        {
            "reference_url": "http://www.securityfocus.com/bid/96978",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/96978"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2643",
            "reference_id": "CVE-2017-2643",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2643"
        }
    ],
    "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": 200,
            "name": "Exposure of Sensitive Information to an Unauthorized Actor",
            "description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
        },
        {
            "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-2qjr-wjh1-8fh6"
}