Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/511855?format=api",
    "purl": "pkg:maven/org.apereo.cas/cas-server-support-otp-mfa-core@6.2.3",
    "type": "maven",
    "namespace": "org.apereo.cas",
    "name": "cas-server-support-otp-mfa-core",
    "version": "6.2.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.2.4",
    "latest_non_vulnerable_version": "6.2.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/326715?format=api",
            "vulnerability_id": "VCID-4bnr-dsm9-yfc7",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://apereo.github.io/2020/10/14/gauthvuln",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://apereo.github.io/2020/10/14/gauthvuln"
                },
                {
                    "reference_url": "https://apereo.github.io/2020/10/14/gauthvuln/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://apereo.github.io/2020/10/14/gauthvuln/"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27178",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4549",
                            "published_at": "2026-06-14T12:55:00Z"
                        },
                        {
                            "value": "0.00225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.45492",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.45501",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.45343",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27178"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27178",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27178"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q39c-5vh5-vw2p",
                    "reference_id": "GHSA-q39c-5vh5-vw2p",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-q39c-5vh5-vw2p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/382834?format=api",
                    "purl": "pkg:maven/org.apereo.cas/cas-server-support-otp-mfa-core@6.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apereo.cas/cas-server-support-otp-mfa-core@6.2.4"
                }
            ],
            "aliases": [
                "CVE-2020-27178",
                "GHSA-q39c-5vh5-vw2p"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4bnr-dsm9-yfc7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apereo.cas/cas-server-support-otp-mfa-core@6.2.3"
}