Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43760?format=api",
    "vulnerability_id": "VCID-29gm-tfg6-xkey",
    "summary": "Moodle Authentication Bypass in Question-Bank\nThe question-bank functionality in Moodle 2.1.x before 2.1.6 and 2.2.x before 2.2.3 allows remote authenticated users to bypass intended capability requirements and save questions via a save_question action.",
    "aliases": [
        {
            "alias": "CVE-2012-2356"
        },
        {
            "alias": "GHSA-3rqj-jchw-9cc7"
        }
    ],
    "fixed_packages": [],
    "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-32239",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-32239"
        },
        {
            "reference_url": "http://openwall.com/lists/oss-security/2012/05/23/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://openwall.com/lists/oss-security/2012/05/23/2"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2356",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00135",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3298",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2356"
        },
        {
            "reference_url": "https://github.com/moodle/moodle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/0f83dd10a1d013e77906c7be4560126bb14c6b5c",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/0f83dd10a1d013e77906c7be4560126bb14c6b5c"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/29e247e44e983f230f248192ffac8e7b7abe37fd",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/29e247e44e983f230f248192ffac8e7b7abe37fd"
        },
        {
            "reference_url": "https://github.com/moodle/moodle/commit/51c5e6057c67687f5d872f8a228cfea275abf576",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/moodle/moodle/commit/51c5e6057c67687f5d872f8a228cfea275abf576"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2356",
            "reference_id": "CVE-2012-2356",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2356"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-3rqj-jchw-9cc7",
            "reference_id": "GHSA-3rqj-jchw-9cc7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-3rqj-jchw-9cc7"
        }
    ],
    "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": 264,
            "name": "Permissions, Privileges, and Access Controls",
            "description": "Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control."
        },
        {
            "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."
        },
        {
            "cwe_id": 288,
            "name": "Authentication Bypass Using an Alternate Path or Channel",
            "description": "A product requires authentication, but the product has an alternate path or channel that does not require authentication."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-29gm-tfg6-xkey"
}