Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/939245?format=api",
    "purl": "pkg:deb/debian/sendmail@8.12.7?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "sendmail",
    "version": "8.12.7",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.12.9",
    "latest_non_vulnerable_version": "8.18.2-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/91075?format=api",
            "vulnerability_id": "VCID-y9e6-ugss-hbc8",
            "summary": "Sendmail 8.9.0 through 8.12.6 allows remote attackers to bypass relaying restrictions enforced by the 'check_relay' function by spoofing a blank DNS hostname.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2002-2261",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69337",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69349",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69365",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69345",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69395",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69411",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69433",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69418",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69404",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69443",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69454",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69435",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69487",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69494",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.695",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69479",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69521",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69555",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69526",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69551",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00598",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69598",
                            "published_at": "2026-05-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2002-2261"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-2261",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-2261"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939245?format=api",
                    "purl": "pkg:deb/debian/sendmail@8.12.7?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.12.7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939238?format=api",
                    "purl": "pkg:deb/debian/sendmail@8.15.2-22%2Bdeb11u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-u8aq-2qhu-gff5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.15.2-22%252Bdeb11u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939236?format=api",
                    "purl": "pkg:deb/debian/sendmail@8.17.1.9-2%2Bdeb12u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.17.1.9-2%252Bdeb12u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939240?format=api",
                    "purl": "pkg:deb/debian/sendmail@8.18.1-6?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.18.1-6%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939239?format=api",
                    "purl": "pkg:deb/debian/sendmail@8.18.2-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.18.2-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2002-2261"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y9e6-ugss-hbc8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.12.7%3Fdistro=trixie"
}