Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/922413?format=api",
    "purl": "pkg:deb/debian/flex@2.5.33-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "flex",
    "version": "2.5.33-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.5.35-1",
    "latest_non_vulnerable_version": "2.6.4-8.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/31674?format=api",
            "vulnerability_id": "VCID-pggd-3e85-u7c3",
            "summary": "flex might generate code with a buffer overflow, making applications using\n    such scanners vulnerable to the execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-0459.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-0459.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-0459",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88327",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88335",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8835",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88354",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88374",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8838",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8839",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88382",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88397",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88393",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-0459"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0459",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0459"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200603-07",
                    "reference_id": "GLSA-200603-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200603-07"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/260-1/",
                    "reference_id": "USN-260-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/260-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/922413?format=api",
                    "purl": "pkg:deb/debian/flex@2.5.33-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/flex@2.5.33-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/922414?format=api",
                    "purl": "pkg:deb/debian/flex@2.6.4-8?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/flex@2.6.4-8%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/922412?format=api",
                    "purl": "pkg:deb/debian/flex@2.6.4-8.2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/flex@2.6.4-8.2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2006-0459"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pggd-3e85-u7c3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/flex@2.5.33-1%3Fdistro=trixie"
}