Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/925996?format=api",
    "purl": "pkg:deb/debian/jruby@1.5.6-5?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "jruby",
    "version": "1.5.6-5",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.7.20.1-2",
    "latest_non_vulnerable_version": "9.4.8.0+ds-3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/59226?format=api",
            "vulnerability_id": "VCID-4eas-fpqk-7ugd",
            "summary": "JRuby denial of service via Hash Collision\nJRuby computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.",
            "references": [
                {
                    "reference_url": "http://2012.appsec-forum.ch/conferences/#c17",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://2012.appsec-forum.ch/conferences/#c17"
                },
                {
                    "reference_url": "http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf"
                },
                {
                    "reference_url": "http://jruby.org/2012/12/03/jruby-1-7-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://jruby.org/2012/12/03/jruby-1-7-1"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0533.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0533.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5370.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5370.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5370",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6968",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69585",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69624",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69633",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69666",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69675",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6952",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69531",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69546",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69525",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69575",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69592",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69614",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00604",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69599",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5370"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=880671",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=880671"
                },
                {
                    "reference_url": "https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/jruby/jruby/commit/5e4aab28b26fd127112b76fabfac9a33b64caf77"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5370",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:P"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5370"
                },
                {
                    "reference_url": "https://www.131002.net/data/talks/appsec12_slides.pdf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.131002.net/data/talks/appsec12_slides.pdf"
                },
                {
                    "reference_url": "http://www.ocert.org/advisories/ocert-2012-001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ocert.org/advisories/ocert-2012-001.html"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694694",
                    "reference_id": "694694",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694694"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:jruby:jruby:-:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:jruby:jruby:-:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:jruby:jruby:-:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fmmq-j7pq-f85c",
                    "reference_id": "GHSA-fmmq-j7pq-f85c",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-fmmq-j7pq-f85c"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:1604",
                    "reference_id": "RHSA-2012:1604",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:1604"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/925996?format=api",
                    "purl": "pkg:deb/debian/jruby@1.5.6-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jruby@1.5.6-5%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/925992?format=api",
                    "purl": "pkg:deb/debian/jruby@9.3.9.0%2Bds-8?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9x9w-2k98-wydm"
                        },
                        {
                            "vulnerability": "VCID-uxdx-abx7-fkdy"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jruby@9.3.9.0%252Bds-8%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/925994?format=api",
                    "purl": "pkg:deb/debian/jruby@9.4.8.0%2Bds-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jruby@9.4.8.0%252Bds-3%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-5370",
                "GHSA-fmmq-j7pq-f85c",
                "OSV-87864"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4eas-fpqk-7ugd"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/jruby@1.5.6-5%3Fdistro=trixie"
}