Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/924847?format=api",
    "purl": "pkg:deb/debian/heartbeat@0.4.9.2-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "heartbeat",
    "version": "0.4.9.2-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.2.3-12",
    "latest_non_vulnerable_version": "1:3.0.6-18",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/91034?format=api",
            "vulnerability_id": "VCID-6evf-w1dj-z7g7",
            "summary": "Multiple format string vulnerabilities in heartbeat 0.4.9 and earlier (claimed as buffer overflows in some sources) allow remote attackers to execute arbitrary code via certain packets to UDP port 694 (incorrectly claimed as TCP in some sources).",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2002-1215",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94603",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94611",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94618",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94619",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94629",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94633",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94638",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94641",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94649",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94652",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.15353",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94657",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2002-1215"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1215",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1215"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924847?format=api",
                    "purl": "pkg:deb/debian/heartbeat@0.4.9.2-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heartbeat@0.4.9.2-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924848?format=api",
                    "purl": "pkg:deb/debian/heartbeat@1:3.0.6-11%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heartbeat@1:3.0.6-11%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924846?format=api",
                    "purl": "pkg:deb/debian/heartbeat@1:3.0.6-13?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heartbeat@1:3.0.6-13%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924850?format=api",
                    "purl": "pkg:deb/debian/heartbeat@1:3.0.6-17?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heartbeat@1:3.0.6-17%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924849?format=api",
                    "purl": "pkg:deb/debian/heartbeat@1:3.0.6-18?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heartbeat@1:3.0.6-18%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2002-1215"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6evf-w1dj-z7g7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heartbeat@0.4.9.2-1%3Fdistro=trixie"
}