Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/128757?format=api",
    "purl": "pkg:rpm/redhat/ruby@1.8.1-7.el4_7?arch=2",
    "type": "rpm",
    "namespace": "redhat",
    "name": "ruby",
    "version": "1.8.1-7.el4_7",
    "qualifiers": {
        "arch": "2"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/14275?format=api",
            "vulnerability_id": "VCID-2yym-f64y-v7hf",
            "summary": "WEBrick Denial of Service Vulnerability\nhttputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red Hat Enterprise Linux 4 and 5, allows remote attackers to cause a denial of service (CPU consumption) via a crafted HTTP request. NOTE: this issue exists because of an incomplete fix for CVE-2008-3656.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-4310.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-4310.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2008-4310",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90477",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90526",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90529",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9053",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90518",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9052",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90502",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90508",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90501",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90495",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90461",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90482",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.05791",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90465",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.06186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90933",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.06186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90896",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.06186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90914",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.06186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90926",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.06186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90924",
                            "published_at": "2026-05-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2008-4310"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=470252",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=470252"
                },
                {
                    "reference_url": "http://secunia.com/advisories/33013",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/33013"
                },
                {
                    "reference_url": "https://github.com/ruby/webrick",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ruby/webrick"
                },
                {
                    "reference_url": "https://github.com/ruby/webrick/commit/b2ccd5ff7ddd67a4548299e110dcc5a4728a5534",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ruby/webrick/commit/b2ccd5ff7ddd67a4548299e110dcc5a4728a5534"
                },
                {
                    "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10250",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10250"
                },
                {
                    "reference_url": "https://web.archive.org/web/20111230125610/http://secunia.com/advisories/33013",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20111230125610/http://secunia.com/advisories/33013"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2008/12/04/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2008/12/04/2"
                },
                {
                    "reference_url": "http://www.redhat.com/support/errata/RHSA-2008-0981.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.redhat.com/support/errata/RHSA-2008-0981.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ruby-lang:ruby:1.8.1:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:ruby-lang:ruby:1.8.1:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ruby-lang:ruby:1.8.1:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4310",
                    "reference_id": "CVE-2008-4310",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:C"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4310"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2008-4310.yml",
                    "reference_id": "CVE-2008-4310.YML",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2008-4310.yml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wfrc-r6c6-7j9r",
                    "reference_id": "GHSA-wfrc-r6c6-7j9r",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wfrc-r6c6-7j9r"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2008:0981",
                    "reference_id": "RHSA-2008:0981",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2008:0981"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2008-4310",
                "GHSA-wfrc-r6c6-7j9r"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2yym-f64y-v7hf"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.8.1-7.el4_7%3Farch=2"
}