Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50958?format=api",
    "vulnerability_id": "VCID-tek3-1ykm-d3cp",
    "summary": "Multiple vulnerabilities have been found in MySQL, allowing\n    attackers to execute arbitrary code or cause Denial of Service.",
    "aliases": [
        {
            "alias": "CVE-2012-5627"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/79019?format=api",
            "purl": "pkg:ebuild/dev-db/mysql@5.1.70",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-db/mysql@5.1.70"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5627.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5627.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5627",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88223",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88231",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88246",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88251",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8827",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88276",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88287",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88279",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88292",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8829",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88307",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88312",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88315",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88326",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.03901",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88342",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5627"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=883719",
            "reference_id": "883719",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=883719"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/38109.pl",
            "reference_id": "CVE-2012-5627;OSVDB-88415",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/38109.pl"
        },
        {
            "reference_url": "https://www.securityfocus.com/bid/56837/info",
            "reference_id": "CVE-2012-5627;OSVDB-88415",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://www.securityfocus.com/bid/56837/info"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201308-06",
            "reference_id": "GLSA-201308-06",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201308-06"
        }
    ],
    "weaknesses": [],
    "exploits": [
        {
            "date_added": "2012-12-06",
            "description": "Oracle MySQL / MariaDB - Insecure Salt Generation Security Bypass",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2012-12-06",
            "exploit_type": "remote",
            "platform": "linux",
            "source_date_updated": "2015-09-08",
            "data_source": "Exploit-DB",
            "source_url": "https://www.securityfocus.com/bid/56837/info"
        }
    ],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tek3-1ykm-d3cp"
}