Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/128317?format=api",
    "purl": "pkg:rpm/redhat/curl@7.12.1-11.1.el4_8?arch=1",
    "type": "rpm",
    "namespace": "redhat",
    "name": "curl",
    "version": "7.12.1-11.1.el4_8",
    "qualifiers": {
        "arch": "1"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36349?format=api",
            "vulnerability_id": "VCID-r3ny-7kn7-ukaa",
            "summary": "An error in the X.509 certificate handling of cURL might enable remote\n    attackers to conduct man-in-the-middle attacks.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-2417.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-2417.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2009-2417",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9171",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91653",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91661",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91666",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91675",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91688",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91694",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91697",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.917",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91696",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0733",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91717",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2009-2417"
                },
                {
                    "reference_url": "https://curl.se/docs/CVE-2009-2417.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://curl.se/docs/CVE-2009-2417.html"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2417",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2417"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=516181",
                    "reference_id": "516181",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=516181"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541991",
                    "reference_id": "541991",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541991"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200909-20",
                    "reference_id": "GLSA-200909-20",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200909-20"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2009:1209",
                    "reference_id": "RHSA-2009:1209",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2009:1209"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1158-1/",
                    "reference_id": "USN-1158-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1158-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/818-1/",
                    "reference_id": "USN-818-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/818-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2009-2417"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r3ny-7kn7-ukaa"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/curl@7.12.1-11.1.el4_8%3Farch=1"
}