Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/123434?format=api",
    "purl": "pkg:rpm/redhat/ruby@1.8.7.352-13?arch=el6",
    "type": "rpm",
    "namespace": "redhat",
    "name": "ruby",
    "version": "1.8.7.352-13",
    "qualifiers": {
        "arch": "el6"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54798?format=api",
            "vulnerability_id": "VCID-1bdw-9rs5-6ycg",
            "summary": "several",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-4164.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-4164.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-4164",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9372",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93729",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9374",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93743",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93752",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93755",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93759",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93781",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93787",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.11958",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93789",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-4164"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1821",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1821"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4073",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4073"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4164",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4164"
                },
                {
                    "reference_url": "https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1033460",
                    "reference_id": "1033460",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1033460"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201412-27",
                    "reference_id": "GLSA-201412-27",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201412-27"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1763",
                    "reference_id": "RHSA-2013:1763",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1763"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1764",
                    "reference_id": "RHSA-2013:1764",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1764"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1767",
                    "reference_id": "RHSA-2013:1767",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1767"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:0011",
                    "reference_id": "RHSA-2014:0011",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:0011"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:0215",
                    "reference_id": "RHSA-2014:0215",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:0215"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2035-1/",
                    "reference_id": "USN-2035-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2035-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2013-4164",
                "GHSA-j98q-m2w8-57rc",
                "OSV-100113"
            ],
            "risk_score": 0.2,
            "exploitability": "2.0",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1bdw-9rs5-6ycg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "0.2",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.8.7.352-13%3Farch=el6"
}