Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/930763?format=api",
    "purl": "pkg:deb/debian/mesa@8.0.4-2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "mesa",
    "version": "8.0.4-2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.0.5-3",
    "latest_non_vulnerable_version": "26.0.6-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42584?format=api",
            "vulnerability_id": "VCID-au65-xxvr-c7hr",
            "summary": "Multiple vulnerabilities in Mesa could result in execution of\n    arbitrary code or Denial of Service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2864.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2864.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2864",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90377",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9038",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90392",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90397",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9041",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90417",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90425",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90424",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90432",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9043",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90443",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90439",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90451",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.05704",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90468",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2864"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2864",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2864"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685667",
                    "reference_id": "685667",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685667"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=850811",
                    "reference_id": "850811",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=850811"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201404-06",
                    "reference_id": "GLSA-201404-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201404-06"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1623-1/",
                    "reference_id": "USN-1623-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1623-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930763?format=api",
                    "purl": "pkg:deb/debian/mesa@8.0.4-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@8.0.4-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930764?format=api",
                    "purl": "pkg:deb/debian/mesa@20.3.5-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-pfdb-qy35-hkh9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@20.3.5-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930762?format=api",
                    "purl": "pkg:deb/debian/mesa@22.3.6-1%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-pfdb-qy35-hkh9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@22.3.6-1%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930766?format=api",
                    "purl": "pkg:deb/debian/mesa@25.0.7-2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-pfdb-qy35-hkh9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@25.0.7-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930765?format=api",
                    "purl": "pkg:deb/debian/mesa@26.0.3-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.3-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1000454?format=api",
                    "purl": "pkg:deb/debian/mesa@26.0.4-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.4-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1067581?format=api",
                    "purl": "pkg:deb/debian/mesa@26.0.5-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.5-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1088703?format=api",
                    "purl": "pkg:deb/debian/mesa@26.0.6-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.6-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-2864"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-au65-xxvr-c7hr"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@8.0.4-2%3Fdistro=trixie"
}