Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/118217?format=api",
    "purl": "pkg:rpm/redhat/rh-ruby22-ruby@2.2.2-12?arch=el6",
    "type": "rpm",
    "namespace": "redhat",
    "name": "rh-ruby22-ruby",
    "version": "2.2.2-12",
    "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/7123?format=api",
            "vulnerability_id": "VCID-ee8m-jtmh-dfbs",
            "summary": "7PK - Security Features\nRubyGems does not validate the hostname when fetching gems or making API requests, which allows remote attackers to redirect requests to arbitrary domains via a crafted DNS SRV record, aka a \"DNS hijack attack.\"",
            "references": [
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163502.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/163600.html"
                },
                {
                    "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-August/164236.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2015-1657.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2015-1657.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-3900.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-3900.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-3900",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85069",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85007",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85024",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85028",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85051",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85058",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85074",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85072",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8509",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85092",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.02401",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84993",
                            "published_at": "2026-04-01T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-3900"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2015-3900.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2015-3900.yml"
                },
                {
                    "reference_url": "https://web.archive.org/web/20170331091241/https://puppet.com/security/cve/CVE-2015-3900",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20170331091241/https://puppet.com/security/cve/CVE-2015-3900"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200228055155/http://www.securityfocus.com/bid/75482",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20200228055155/http://www.securityfocus.com/bid/75482"
                },
                {
                    "reference_url": "https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/?fid=6356",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2015-007/?fid=6356"
                },
                {
                    "reference_url": "https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900"
                },
                {
                    "reference_url": "https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.trustwave.com/Resources/SpiderLabs-Blog/Attacking-Ruby-Gem-Security-with-CVE-2015-3900/"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2015/06/26/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2015/06/26/2"
                },
                {
                    "reference_url": "http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/75482",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/75482"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1236116",
                    "reference_id": "1236116",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1236116"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-3900",
                    "reference_id": "CVE-2015-3900",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-3900"
                },
                {
                    "reference_url": "https://puppet.com/security/cve/CVE-2015-3900",
                    "reference_id": "CVE-2015-3900",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://puppet.com/security/cve/CVE-2015-3900"
                },
                {
                    "reference_url": "http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html",
                    "reference_id": "CVE-2015-3900.HTML",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wp3j-rvfp-624h",
                    "reference_id": "GHSA-wp3j-rvfp-624h",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wp3j-rvfp-624h"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2015:1657",
                    "reference_id": "RHSA-2015:1657",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2015:1657"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2015-3900",
                "GHSA-wp3j-rvfp-624h",
                "OSV-122162"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ee8m-jtmh-dfbs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-ruby22-ruby@2.2.2-12%3Farch=el6"
}