Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/62056?format=api",
    "vulnerability_id": "VCID-zwd6-y7dv-6be5",
    "summary": "SQL-Injection in Harbor allows priviledge users to leak the task IDs",
    "aliases": [
        {
            "alias": "CVE-2024-22261"
        },
        {
            "alias": "GHSA-vw63-824v-qf2j"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-22261",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00469",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65084",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00469",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65092",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00469",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64984",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00469",
                    "scoring_system": "epss",
                    "scoring_elements": "0.65095",
                    "published_at": "2026-06-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-22261"
        },
        {
            "reference_url": "https://github.com/goharbor/harbor",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/goharbor/harbor"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22261",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22261"
        },
        {
            "reference_url": "https://pkg.go.dev/vuln/GO-2024-2916",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://pkg.go.dev/vuln/GO-2024-2916"
        },
        {
            "reference_url": "https://github.com/goharbor/harbor/security/advisories/GHSA-vw63-824v-qf2j",
            "reference_id": "GHSA-vw63-824v-qf2j",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "LOW",
                    "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-07-12T19:29:24Z/"
                }
            ],
            "url": "https://github.com/goharbor/harbor/security/advisories/GHSA-vw63-824v-qf2j"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 566,
            "name": "Authorization Bypass Through User-Controlled SQL Primary Key",
            "description": "The product uses a database table that includes records that should not be accessible to an actor, but it executes a SQL statement with a primary key that can be controlled by that actor."
        }
    ],
    "exploits": [],
    "severity_range_score": "0.1 - 3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zwd6-y7dv-6be5"
}