Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43689?format=api",
    "vulnerability_id": "VCID-7tky-51ah-17bs",
    "summary": "Moodle allows remote authenticated users to cause a denial of service (invalid database records)\nMoodle 2.0.x before 2.0.3 allows remote authenticated users to cause a denial of service (invalid database records) via a series of crafted ratings operations.",
    "aliases": [
        {
            "alias": "CVE-2011-4291"
        },
        {
            "alias": "GHSA-m2pf-4pf8-45j2"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62433?format=api",
            "purl": "pkg:composer/moodle/moodle@2.0.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.0.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61518?format=api",
            "purl": "pkg:composer/moodle/moodle@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-41jn-p8ef-pqbg"
                },
                {
                    "vulnerability": "VCID-41up-e414-hyba"
                },
                {
                    "vulnerability": "VCID-47h1-1tt9-4fat"
                },
                {
                    "vulnerability": "VCID-4cdk-8y5v-nba1"
                },
                {
                    "vulnerability": "VCID-4hs4-xkzr-ybbf"
                },
                {
                    "vulnerability": "VCID-6dwh-baur-9ydg"
                },
                {
                    "vulnerability": "VCID-7pf8-gx8a-fbg1"
                },
                {
                    "vulnerability": "VCID-7tky-51ah-17bs"
                },
                {
                    "vulnerability": "VCID-9ca4-gyeh-qkhc"
                },
                {
                    "vulnerability": "VCID-9e5m-wfwn-j7a3"
                },
                {
                    "vulnerability": "VCID-9nee-rvyv-qfba"
                },
                {
                    "vulnerability": "VCID-a4uv-j23y-8bg1"
                },
                {
                    "vulnerability": "VCID-atb4-adjz-1uef"
                },
                {
                    "vulnerability": "VCID-dt8h-ktfk-2qec"
                },
                {
                    "vulnerability": "VCID-e2hb-w8g1-xbax"
                },
                {
                    "vulnerability": "VCID-ek29-cpbw-77fh"
                },
                {
                    "vulnerability": "VCID-ev8f-4uzk-b3an"
                },
                {
                    "vulnerability": "VCID-fq4z-5wh4-b3b5"
                },
                {
                    "vulnerability": "VCID-fwn7-hez1-ayhj"
                },
                {
                    "vulnerability": "VCID-jbvt-9yy2-afb4"
                },
                {
                    "vulnerability": "VCID-q6wx-c4w3-skh8"
                },
                {
                    "vulnerability": "VCID-qpm1-4xwk-sfb2"
                },
                {
                    "vulnerability": "VCID-r7wm-grca-3fgw"
                },
                {
                    "vulnerability": "VCID-scrd-yyjh-gbhw"
                },
                {
                    "vulnerability": "VCID-ubt2-hvzj-1kbh"
                },
                {
                    "vulnerability": "VCID-vgxb-fkuj-9fgk"
                },
                {
                    "vulnerability": "VCID-yyug-rt71-yfds"
                },
                {
                    "vulnerability": "VCID-zhfc-drsr-27ae"
                },
                {
                    "vulnerability": "VCID-zvsh-te3w-qyec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/moodle/moodle@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://git.moodle.org",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://git.moodle.org"
        },
        {
            "reference_url": "http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=34b5e856b0c98aab3f5317119093628df0834957",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=34b5e856b0c98aab3f5317119093628df0834957"
        },
        {
            "reference_url": "http://git.moodle.org/gw?p=moodle.git;a=commit;h=34b5e856b0c98aab3f5317119093628df0834957",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://git.moodle.org/gw?p=moodle.git;a=commit;h=34b5e856b0c98aab3f5317119093628df0834957"
        },
        {
            "reference_url": "http://moodle.org/mod/forum/discuss.php?d=175593",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://moodle.org/mod/forum/discuss.php?d=175593"
        },
        {
            "reference_url": "http://openwall.com/lists/oss-security/2011/11/14/1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://openwall.com/lists/oss-security/2011/11/14/1"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2011-4291",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00455",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64179",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2011-4291"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-4291",
            "reference_id": "CVE-2011-4291",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-4291"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-m2pf-4pf8-45j2",
            "reference_id": "GHSA-m2pf-4pf8-45j2",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-m2pf-4pf8-45j2"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "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-7tky-51ah-17bs"
}