Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44048?format=api",
    "vulnerability_id": "VCID-6r4m-kxj7-ybb6",
    "summary": "Improper Control of Generation of Code ('Code Injection')\nsetup/lib/ConfigGenerator.class.php in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly restrict the presence of comment closing delimiters, which allows remote attackers to conduct static code injection attacks by leveraging the ability to modify the SESSION superglobal array.",
    "aliases": [
        {
            "alias": "CVE-2011-2506"
        },
        {
            "alias": "GHSA-p6h7-29r2-g88f"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63265?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@3.3.10%2B2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@3.3.10%252B2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63266?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@3.4.3%2B1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@3.4.3%252B1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61862?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r4m-kxj7-ybb6"
                },
                {
                    "vulnerability": "VCID-cyv1-muwx-83h8"
                },
                {
                    "vulnerability": "VCID-qnf5-aays-qkf1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63264?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@3.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6r4m-kxj7-ybb6"
                },
                {
                    "vulnerability": "VCID-8amg-r4d1-kubh"
                },
                {
                    "vulnerability": "VCID-92xz-8fkp-ekh3"
                },
                {
                    "vulnerability": "VCID-ntmf-36f1-e3fg"
                },
                {
                    "vulnerability": "VCID-qnf5-aays-qkf1"
                },
                {
                    "vulnerability": "VCID-zb95-sn9m-r3bu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@3.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html"
        },
        {
            "reference_url": "http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f"
        },
        {
            "reference_url": "http://securityreason.com/securityalert/8306",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://securityreason.com/securityalert/8306"
        },
        {
            "reference_url": "https://github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f"
        },
        {
            "reference_url": "https://github.com/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4"
        },
        {
            "reference_url": "https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt"
        },
        {
            "reference_url": "https://web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded"
        },
        {
            "reference_url": "https://web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124"
        },
        {
            "reference_url": "http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008/"
        },
        {
            "reference_url": "http://www.debian.org/security/2011/dsa-2286",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.debian.org/security/2011/dsa-2286"
        },
        {
            "reference_url": "http://www.exploit-db.com/exploits/17514/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.exploit-db.com/exploits/17514/"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/06/28/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/06/28/2"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/06/28/6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/06/28/6"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/06/28/8",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/06/28/8"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2011/06/29/11",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2011/06/29/11"
        },
        {
            "reference_url": "http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.phpmyadmin.net/home_page/security/PMASA-2011-6.php"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2506",
            "reference_id": "CVE-2011-2506",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2506"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-p6h7-29r2-g88f",
            "reference_id": "GHSA-p6h7-29r2-g88f",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-p6h7-29r2-g88f"
        }
    ],
    "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."
        },
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6r4m-kxj7-ybb6"
}