Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/141820?format=api",
    "vulnerability_id": "VCID-q6z8-dgxc-h3fr",
    "summary": "phpMyAdmin 3.5.2.2, as distributed by the cdnetworks-kr-1 mirror during an unspecified time frame in 2012, contains an externally introduced modification (Trojan Horse) in server_sync.php, which allows remote attackers to execute arbitrary PHP code via an eval injection attack.",
    "aliases": [
        {
            "alias": "CVE-2012-5159"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935154?format=api",
            "purl": "pkg:deb/debian/phpmyadmin@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/phpmyadmin@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935143?format=api",
            "purl": "pkg:deb/debian/phpmyadmin@4:5.0.4%2Bdfsg2-2%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-na3j-h3qr-k7dc"
                },
                {
                    "vulnerability": "VCID-ndjn-p6gb-u7g4"
                },
                {
                    "vulnerability": "VCID-rqy8-n6fr-hqey"
                },
                {
                    "vulnerability": "VCID-zd8d-c1nk-g7a4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/phpmyadmin@4:5.0.4%252Bdfsg2-2%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935141?format=api",
            "purl": "pkg:deb/debian/phpmyadmin@4:5.2.1%2Bdfsg-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zd8d-c1nk-g7a4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/phpmyadmin@4:5.2.1%252Bdfsg-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935145?format=api",
            "purl": "pkg:deb/debian/phpmyadmin@4:5.2.2-really%2Bdfsg-1%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/phpmyadmin@4:5.2.2-really%252Bdfsg-1%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935144?format=api",
            "purl": "pkg:deb/debian/phpmyadmin@4:5.2.3%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/phpmyadmin@4:5.2.3%252Bdfsg-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5159",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99488",
                    "published_at": "2026-05-15T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99473",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99475",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99476",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99478",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99479",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99482",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99483",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99484",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99486",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.8794",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99487",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5159"
        },
        {
            "reference_url": "http://seclists.org/oss-sec/2012/q3/562",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://seclists.org/oss-sec/2012/q3/562"
        },
        {
            "reference_url": "http://sourceforge.net/blog/phpmyadmin-back-door/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://sourceforge.net/blog/phpmyadmin-back-door/"
        },
        {
            "reference_url": "http://www.phpmyadmin.net/home_page/security/PMASA-2012-5.php",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.phpmyadmin.net/home_page/security/PMASA-2012-5.php"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/55672",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/55672"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.2.2:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.2.2:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmyadmin:phpmyadmin:3.5.2.2:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5159",
            "reference_id": "CVE-2012-5159",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5159"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/21834.rb",
            "reference_id": "CVE-2012-5159;OSVDB-85739",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/21834.rb"
        }
    ],
    "weaknesses": [
        {
            "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": [
        {
            "date_added": null,
            "description": "This module exploits an arbitrary code execution backdoor\n          placed into phpMyAdmin v3.5.2.2 through a compromised SourceForge mirror.",
            "required_action": null,
            "due_date": null,
            "notes": "Reliability:\n  - unknown-reliability\nStability:\n  - unknown-stability\nSideEffects:\n  - unknown-side-effects\n",
            "known_ransomware_campaign_use": false,
            "source_date_published": "2012-09-25",
            "exploit_type": null,
            "platform": "PHP",
            "source_date_updated": null,
            "data_source": "Metasploit",
            "source_url": "https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/http/phpmyadmin_3522_backdoor.rb"
        },
        {
            "date_added": "2012-10-10",
            "description": "phpMyAdmin 3.5.2.2 - 'server_sync.php' Backdoor (Metasploit)",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2012-10-10",
            "exploit_type": "webapps",
            "platform": "php",
            "source_date_updated": "2012-10-10",
            "data_source": "Exploit-DB",
            "source_url": ""
        }
    ],
    "severity_range_score": "7.5 - 7.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q6z8-dgxc-h3fr"
}