Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/939255?format=api",
    "purl": "pkg:deb/debian/sendmail@8.14.3-9.1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "sendmail",
    "version": "8.14.3-9.1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.14.4-6",
    "latest_non_vulnerable_version": "8.18.2-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49053?format=api",
            "vulnerability_id": "VCID-dk9t-39dj-cud4",
            "summary": "An error in the hostname matching in sendmail might enable remote\n    attackers to conduct man-in-the-middle attacks.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-4565.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-4565.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2009-4565",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73476",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73485",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73507",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73479",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73516",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73529",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73552",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73536",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73528",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73572",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73582",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00771",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73575",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2009-4565"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4565",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4565"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=552622",
                    "reference_id": "552622",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=552622"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564581",
                    "reference_id": "564581",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564581"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201206-30",
                    "reference_id": "GLSA-201206-30",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201206-30"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2010:0237",
                    "reference_id": "RHSA-2010:0237",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2010:0237"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2011:0262",
                    "reference_id": "RHSA-2011:0262",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2011:0262"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939255?format=api",
                    "purl": "pkg:deb/debian/sendmail@8.14.3-9.1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.14.3-9.1%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-2009-4565"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dk9t-39dj-cud4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.14.3-9.1%3Fdistro=trixie"
}