Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/586940?format=api",
    "purl": "pkg:deb/debian/cacti@0.8.7a-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "cacti",
    "version": "0.8.7a-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.8.7b-1",
    "latest_non_vulnerable_version": "1.2.30+ds1-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47891?format=api",
            "vulnerability_id": "VCID-p74d-rbz3-sbb3",
            "summary": "An SQL injection vulnerability has been discovered in Cacti.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-6035.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-6035.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-6035",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89113",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89121",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89136",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89138",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89156",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89161",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89171",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89167",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.04526",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89165",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-6035"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6035",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6035"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=391691",
                    "reference_id": "391691",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=391691"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452085",
                    "reference_id": "452085",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452085"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200712-02",
                    "reference_id": "GLSA-200712-02",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200712-02"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/586940?format=api",
                    "purl": "pkg:deb/debian/cacti@0.8.7a-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@0.8.7a-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582138?format=api",
                    "purl": "pkg:deb/debian/cacti@1.2.16%2Bds1-2%2Bdeb11u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4e5y-1s19-r7g7"
                        },
                        {
                            "vulnerability": "VCID-cqr3-wwhj-tyck"
                        },
                        {
                            "vulnerability": "VCID-pxqa-nkv3-jqfs"
                        },
                        {
                            "vulnerability": "VCID-xkkm-ss3p-1udc"
                        },
                        {
                            "vulnerability": "VCID-zxu5-equ9-1kam"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.16%252Bds1-2%252Bdeb11u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582140?format=api",
                    "purl": "pkg:deb/debian/cacti@1.2.24%2Bds1-1%2Bdeb12u5?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4e5y-1s19-r7g7"
                        },
                        {
                            "vulnerability": "VCID-pxqa-nkv3-jqfs"
                        },
                        {
                            "vulnerability": "VCID-xkkm-ss3p-1udc"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.24%252Bds1-1%252Bdeb12u5%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582142?format=api",
                    "purl": "pkg:deb/debian/cacti@1.2.30%2Bds1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.30%252Bds1-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582143?format=api",
                    "purl": "pkg:deb/debian/cacti@1.2.30%2Bds1-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@1.2.30%252Bds1-2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2007-6035"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p74d-rbz3-sbb3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cacti@0.8.7a-1%3Fdistro=trixie"
}