Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/924937?format=api",
    "purl": "pkg:deb/debian/horizon@2012.1.1-4?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "horizon",
    "version": "2012.1.1-4",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2012.1.1-7",
    "latest_non_vulnerable_version": "3:25.7.1-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5291?format=api",
            "vulnerability_id": "VCID-1159-xhmc-5bc1",
            "summary": "Open redirect vulnerability in views/auth_forms.py in OpenStack Dashboard (Horizon) Essex (2012.1) allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the next parameter to auth/login/.  NOTE: this issue was originally assigned CVE-2012-3542 by mistake.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-3540.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-3540.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-3540",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83307",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83202",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83218",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83232",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83231",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83256",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83265",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83281",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83275",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01906",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8327",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-3540"
                },
                {
                    "reference_url": "https://bugs.launchpad.net/horizon/+bug/1039077",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/horizon/+bug/1039077"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3540",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3540"
                },
                {
                    "reference_url": "http://secunia.com/advisories/50480",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/50480"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78196",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/78196"
                },
                {
                    "reference_url": "https://github.com/openstack/horizon/commit/35eada8a27323c0f83c400177797927aba6bc99b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/openstack/horizon/commit/35eada8a27323c0f83c400177797927aba6bc99b"
                },
                {
                    "reference_url": "https://lists.launchpad.net/openstack/msg16278.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.launchpad.net/openstack/msg16278.html"
                },
                {
                    "reference_url": "https://lists.launchpad.net/openstack/msg16281.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.launchpad.net/openstack/msg16281.html"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2012/08/30/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2012/08/30/4"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2012/08/30/5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2012/08/30/5"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/55329",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/55329"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-1565-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-1565-1"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686050",
                    "reference_id": "686050",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686050"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=852246",
                    "reference_id": "852246",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=852246"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:openstack:horizon:2012.1:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:openstack:horizon:2012.1:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:openstack:horizon:2012.1:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-3540",
                    "reference_id": "CVE-2012-3540",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:N"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-3540"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:1380",
                    "reference_id": "RHSA-2012:1380",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:1380"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1565-1/",
                    "reference_id": "USN-1565-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1565-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924937?format=api",
                    "purl": "pkg:deb/debian/horizon@2012.1.1-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/horizon@2012.1.1-4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924933?format=api",
                    "purl": "pkg:deb/debian/horizon@3:18.6.2-5%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/horizon@3:18.6.2-5%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924931?format=api",
                    "purl": "pkg:deb/debian/horizon@3:23.0.0-5%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/horizon@3:23.0.0-5%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924935?format=api",
                    "purl": "pkg:deb/debian/horizon@3:25.3.0-3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/horizon@3:25.3.0-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924934?format=api",
                    "purl": "pkg:deb/debian/horizon@3:25.7.1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/horizon@3:25.7.1-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-3540",
                "PYSEC-2012-18"
            ],
            "risk_score": 2.6,
            "exploitability": "0.5",
            "weighted_severity": "5.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1159-xhmc-5bc1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/horizon@2012.1.1-4%3Fdistro=trixie"
}