Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/30001?format=api",
    "purl": "pkg:gem/active-support@0",
    "type": "gem",
    "namespace": "",
    "name": "active-support",
    "version": "0",
    "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/9745?format=api",
            "vulnerability_id": "VCID-439p-xmw5-w7b2",
            "summary": "Command Injection\nactive-support could allow a remote attacker to execute arbitrary code on the system, caused by containing a malicious backdoor. An attacker could exploit this vulnerability to execute arbitrary code on the system.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-3779",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89617",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89571",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89585",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8959",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89598",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8952",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89524",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89537",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89538",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89554",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89558",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89566",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89564",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89572",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.04871",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89574",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-3779"
                },
                {
                    "reference_url": "https://hackerone.com/reports/392311",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/392311"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3779",
                    "reference_id": "CVE-2018-3779",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3779"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2j55-pcw5-x4h2",
                    "reference_id": "GHSA-2j55-pcw5-x4h2",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-2j55-pcw5-x4h2"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-3779",
                "GHSA-2j55-pcw5-x4h2"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-439p-xmw5-w7b2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/active-support@0"
}