Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43746?format=api",
    "vulnerability_id": "VCID-c9kg-rsj3-b3bw",
    "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nMoodle 2.1.x before 2.1.6 and 2.2.x before 2.2.3 allows remote authenticated users to obtain sensitive user information from hidden fields by leveraging the teacher role and navigating to \"Enrolled users\" under the Users Settings section.",
    "aliases": [
        {
            "alias": "CVE-2012-2353"
        },
        {
            "alias": "GHSA-mr97-gvvg-rhgh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62799?format=api",
            "purl": "pkg:composer/moodle/moodle@2.1.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.1.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62800?format=api",
            "purl": "pkg:composer/moodle/moodle@2.2.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.2.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61520?format=api",
            "purl": "pkg:composer/moodle/moodle@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1uce-2wtr-8bfg"
                },
                {
                    "vulnerability": "VCID-29gm-tfg6-xkey"
                },
                {
                    "vulnerability": "VCID-3tq1-jwd5-xqcr"
                },
                {
                    "vulnerability": "VCID-4cdk-8y5v-nba1"
                },
                {
                    "vulnerability": "VCID-6dwh-baur-9ydg"
                },
                {
                    "vulnerability": "VCID-9nee-rvyv-qfba"
                },
                {
                    "vulnerability": "VCID-a4uv-j23y-8bg1"
                },
                {
                    "vulnerability": "VCID-atb4-adjz-1uef"
                },
                {
                    "vulnerability": "VCID-c9kg-rsj3-b3bw"
                },
                {
                    "vulnerability": "VCID-dt8h-ktfk-2qec"
                },
                {
                    "vulnerability": "VCID-e2hb-w8g1-xbax"
                },
                {
                    "vulnerability": "VCID-et8t-f1u1-kudb"
                },
                {
                    "vulnerability": "VCID-jbvt-9yy2-afb4"
                },
                {
                    "vulnerability": "VCID-mh2f-ytz5-9fhg"
                },
                {
                    "vulnerability": "VCID-q6wx-c4w3-skh8"
                },
                {
                    "vulnerability": "VCID-qpm1-4xwk-sfb2"
                },
                {
                    "vulnerability": "VCID-ubt2-hvzj-1kbh"
                },
                {
                    "vulnerability": "VCID-yyug-rt71-yfds"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61522?format=api",
            "purl": "pkg:composer/moodle/moodle@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1uce-2wtr-8bfg"
                },
                {
                    "vulnerability": "VCID-29gm-tfg6-xkey"
                },
                {
                    "vulnerability": "VCID-2vsp-tbwq-1qhf"
                },
                {
                    "vulnerability": "VCID-41up-e414-hyba"
                },
                {
                    "vulnerability": "VCID-4cdk-8y5v-nba1"
                },
                {
                    "vulnerability": "VCID-b2tv-8q9g-qqfz"
                },
                {
                    "vulnerability": "VCID-c9kg-rsj3-b3bw"
                },
                {
                    "vulnerability": "VCID-e2hb-w8g1-xbax"
                },
                {
                    "vulnerability": "VCID-et8t-f1u1-kudb"
                },
                {
                    "vulnerability": "VCID-jbvt-9yy2-afb4"
                },
                {
                    "vulnerability": "VCID-mh2f-ytz5-9fhg"
                },
                {
                    "vulnerability": "VCID-vgxb-fkuj-9fgk"
                },
                {
                    "vulnerability": "VCID-y15n-cf9z-dyc4"
                },
                {
                    "vulnerability": "VCID-yyug-rt71-yfds"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31923",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31923"
        },
        {
            "reference_url": "http://openwall.com/lists/oss-security/2012/05/23/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://openwall.com/lists/oss-security/2012/05/23/2"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/a645b79113b2ee7881b6bdae64a0c2a9f04db5c7",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/moodle/moodle/commit/a645b79113b2ee7881b6bdae64a0c2a9f04db5c7"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/ce13ea6ceb15f00c3cc6d40d79b06be39de7987a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/moodle/moodle/commit/ce13ea6ceb15f00c3cc6d40d79b06be39de7987a"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/cfaa50a61d61719c65aa7e26f5444852931e07b6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/moodle/moodle/commit/cfaa50a61d61719c65aa7e26f5444852931e07b6"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2353",
            "reference_id": "CVE-2012-2353",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2353"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-mr97-gvvg-rhgh",
            "reference_id": "GHSA-mr97-gvvg-rhgh",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-mr97-gvvg-rhgh"
        }
    ],
    "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-c9kg-rsj3-b3bw"
}