Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/41029?format=api",
    "purl": "pkg:maven/mysql-connector-java@8.0.26",
    "type": "maven",
    "namespace": "",
    "name": "mysql-connector-java",
    "version": "8.0.26",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11412?format=api",
            "vulnerability_id": "VCID-4w4j-hadb-w3e6",
            "summary": "Uncontrolled Resource Consumption\nVulnerability in the MySQL Connectors product of Oracle MySQL. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Connectors accessible data and unauthorized ability to cause a hang or frequently repeatable crash (complete DoS) of MySQL Connectors.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-2471.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-2471.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-2471",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9843",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98411",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98413",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98416",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98419",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98422",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98423",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98426",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.63823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98431",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-2471"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-25T19:15:14Z/"
                        }
                    ],
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-25T19:15:14Z/"
                        }
                    ],
                    "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2020583",
                    "reference_id": "2020583",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2020583"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-2471",
                    "reference_id": "CVE-2021-2471",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-2471"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w6f2-8wx4-47r5",
                    "reference_id": "GHSA-w6f2-8wx4-47r5",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-w6f2-8wx4-47r5"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:0589",
                    "reference_id": "RHSA-2022:0589",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:0589"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:1013",
                    "reference_id": "RHSA-2022:1013",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:1013"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:5532",
                    "reference_id": "RHSA-2022:5532",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:5532"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:5903",
                    "reference_id": "RHSA-2022:5903",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:5903"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:6407",
                    "reference_id": "RHSA-2022:6407",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:6407"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-2471",
                "GHSA-w6f2-8wx4-47r5"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4w4j-hadb-w3e6"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/mysql-connector-java@8.0.26"
}