Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/123865?format=api",
    "purl": "pkg:rpm/redhat/jbossweb@7.2.0-3.redhat_2.ep6?arch=el6",
    "type": "rpm",
    "namespace": "redhat",
    "name": "jbossweb",
    "version": "7.2.0-3.redhat_2.ep6",
    "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/4714?format=api",
            "vulnerability_id": "VCID-bxg6-fsmd-6qae",
            "summary": "The readObject method in the DiskFileItem class in Apache Tomcat and JBoss Web, as used in Red Hat JBoss Enterprise Application Platform 6.1.0 and Red Hat JBoss Portal 6.0.0, allows remote attackers to write to arbitrary files via a NULL byte in a file name in a serialized instance, a similar issue to CVE-2013-2186.  NOTE: this issue is reportedly disputed by the Apache Tomcat team, although Red Hat considers it a vulnerability. The dispute appears to regard whether it is the responsibility of applications to avoid providing untrusted data to be deserialized, or whether this class should inherently protect against this issue",
            "references": [
                {
                    "reference_url": "http://openwall.com/lists/oss-security/2014/10/24/12",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://openwall.com/lists/oss-security/2014/10/24/12"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1193.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-1193.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1194.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-1194.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-1265.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-1265.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-2185.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-2185.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-2185",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89969",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90025",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89981",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89987",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90003",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90009",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90015",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90017",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90023",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90026",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.05286",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89967",
                            "published_at": "2026-04-01T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-2185"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2185",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-2185"
                },
                {
                    "reference_url": "https://github.com/apache/tomcat",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/tomcat"
                },
                {
                    "reference_url": "https://github.com/apache/tomcat/commit/e246e5fc13307da0a5d3bbf860d64d97be1c40f8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/tomcat/commit/e246e5fc13307da0a5d3bbf860d64d97be1c40f8"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2185",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2185"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2013/09/05/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2013/09/05/4"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=974813",
                    "reference_id": "974813",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=974813"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-v6c7-8qx5-8gmp",
                    "reference_id": "GHSA-v6c7-8qx5-8gmp",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-v6c7-8qx5-8gmp"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1193",
                    "reference_id": "RHSA-2013:1193",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1193"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1194",
                    "reference_id": "RHSA-2013:1194",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1194"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:1265",
                    "reference_id": "RHSA-2013:1265",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:1265"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2013-2185",
                "GHSA-v6c7-8qx5-8gmp"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bxg6-fsmd-6qae"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jbossweb@7.2.0-3.redhat_2.ep6%3Farch=el6"
}