Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/226695?format=api",
    "vulnerability_id": "VCID-8jek-ygjg-nyha",
    "summary": "Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python).  Supported versions that are affected are 8.4.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors.  Successful attacks of this vulnerability can result in  unauthorized update, insert or delete access to some of MySQL Connectors accessible data as well as  unauthorized read access to a subset of MySQL Connectors accessible data and unauthorized ability to cause a partial denial of service (partial DOS) of MySQL Connectors. CVSS 3.1 Base Score 6.3 (Confidentiality, Integrity and Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).",
    "aliases": [
        {
            "alias": "CVE-2024-21170"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931432?format=api",
            "purl": "pkg:deb/debian/mysql-connector-python@9.0.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mysql-connector-python@9.0.0-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931428?format=api",
            "purl": "pkg:deb/debian/mysql-connector-python@9.5.0-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mysql-connector-python@9.5.0-1%3Fdistro=sid"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21170",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32279",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32479",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32445",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3259",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32626",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32449",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32497",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32525",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32529",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32491",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32465",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.325",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21170"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077767",
            "reference_id": "1077767",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077767"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpujul2024.html",
            "reference_id": "cpujul2024.html",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-18T13:39:15Z/"
                }
            ],
            "url": "https://www.oracle.com/security-alerts/cpujul2024.html"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "6.3 - 6.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8jek-ygjg-nyha"
}