Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/106020?format=api",
    "purl": "pkg:rpm/redhat/python@2.7.5-80?arch=el7_6",
    "type": "rpm",
    "namespace": "redhat",
    "name": "python",
    "version": "2.7.5-80",
    "qualifiers": {
        "arch": "el7_6"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/82500?format=api",
            "vulnerability_id": "VCID-1taa-a9e4-tbc5",
            "summary": "python: regression of CVE-2019-9636 due to functional fix to allow port numbers in netloc",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-10160.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-10160.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-10160",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79716",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79723",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79745",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7973",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79759",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79788",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01305",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79766",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01472",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81051",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01472",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81029",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82619",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82652",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82653",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82656",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82678",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82688",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82694",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01763",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82614",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-10160"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10160",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10160"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1718388",
                    "reference_id": "1718388",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1718388"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1587",
                    "reference_id": "RHSA-2019:1587",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1587"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1700",
                    "reference_id": "RHSA-2019:1700",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1700"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:2437",
                    "reference_id": "RHSA-2019:2437",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:2437"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4127-1/",
                    "reference_id": "USN-4127-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4127-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4127-2/",
                    "reference_id": "USN-4127-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4127-2/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6891-1/",
                    "reference_id": "USN-6891-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6891-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2019-10160"
            ],
            "risk_score": 4.4,
            "exploitability": "0.5",
            "weighted_severity": "8.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1taa-a9e4-tbc5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/python@2.7.5-80%3Farch=el7_6"
}