Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40840?format=api",
    "vulnerability_id": "VCID-akv3-zfp8-kkc7",
    "summary": "Permissions, Privileges, and Access Controls\nThere was a link to site home within the the Boost theme's secure layout, meaning students could navigate out of the page.",
    "aliases": [
        {
            "alias": "CVE-2019-3851"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57656?format=api",
            "purl": "pkg:composer/moodle/moodle@3.5.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-deur-8zdf-2kh2"
                },
                {
                    "vulnerability": "VCID-qxsq-ku22-r7gx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57657?format=api",
            "purl": "pkg:composer/moodle/moodle@3.6.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-deur-8zdf-2kh2"
                },
                {
                    "vulnerability": "VCID-qxsq-ku22-r7gx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.6.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56056?format=api",
            "purl": "pkg:composer/moodle/moodle@3.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-336n-hpzg-euhd"
                },
                {
                    "vulnerability": "VCID-4rz2-b4e3-87g5"
                },
                {
                    "vulnerability": "VCID-8mgr-gdzj-4ybs"
                },
                {
                    "vulnerability": "VCID-akv3-zfp8-kkc7"
                },
                {
                    "vulnerability": "VCID-bjnq-q2nd-1khp"
                },
                {
                    "vulnerability": "VCID-deur-8zdf-2kh2"
                },
                {
                    "vulnerability": "VCID-k73h-z6j8-gkgz"
                },
                {
                    "vulnerability": "VCID-mmg3-7fz9-5uak"
                },
                {
                    "vulnerability": "VCID-qhv1-wgpm-7fh6"
                },
                {
                    "vulnerability": "VCID-qxsq-ku22-r7gx"
                },
                {
                    "vulnerability": "VCID-r6kn-b963-eqge"
                },
                {
                    "vulnerability": "VCID-s6uu-335k-yfbc"
                },
                {
                    "vulnerability": "VCID-vfp6-4h8n-bkax"
                },
                {
                    "vulnerability": "VCID-x72x-7e66-yff3"
                },
                {
                    "vulnerability": "VCID-x9vd-njdz-jua9"
                },
                {
                    "vulnerability": "VCID-zjrq-np3y-hua5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57639?format=api",
            "purl": "pkg:composer/moodle/moodle@3.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-336n-hpzg-euhd"
                },
                {
                    "vulnerability": "VCID-akv3-zfp8-kkc7"
                },
                {
                    "vulnerability": "VCID-deur-8zdf-2kh2"
                },
                {
                    "vulnerability": "VCID-eaf7-c68j-audm"
                },
                {
                    "vulnerability": "VCID-k73h-z6j8-gkgz"
                },
                {
                    "vulnerability": "VCID-qhv1-wgpm-7fh6"
                },
                {
                    "vulnerability": "VCID-qxsq-ku22-r7gx"
                },
                {
                    "vulnerability": "VCID-r6kn-b963-eqge"
                },
                {
                    "vulnerability": "VCID-s6uu-335k-yfbc"
                },
                {
                    "vulnerability": "VCID-zjrq-np3y-hua5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@3.6.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3851",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3851"
        },
        {
            "reference_url": "https://moodle.org/mod/forum/discuss.php?d=384014#p1547746",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://moodle.org/mod/forum/discuss.php?d=384014#p1547746"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3851",
            "reference_id": "CVE-2019-3851",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3851"
        }
    ],
    "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": 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-akv3-zfp8-kkc7"
}