Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/582893?format=api",
    "purl": "pkg:deb/debian/expat@2.2.10-2%2Bdeb11u7?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "expat",
    "version": "2.2.10-2+deb11u7",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.4.1-2",
    "latest_non_vulnerable_version": "2.7.5-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73066?format=api",
            "vulnerability_id": "VCID-k2kp-fv3q-vyh2",
            "summary": "libexpat: expat: DoS via XML_ResumeParser",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-50602.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-50602.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-50602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31946",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32016",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32019",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.3198",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32074",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32114",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31936",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00127",
                            "scoring_system": "epss",
                            "scoring_elements": "0.31987",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-50602"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50602"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086134",
                    "reference_id": "1086134",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086134"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2321987",
                    "reference_id": "2321987",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2321987"
                },
                {
                    "reference_url": "https://github.com/libexpat/libexpat/pull/915",
                    "reference_id": "915",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-30T18:00:51Z/"
                        }
                    ],
                    "url": "https://github.com/libexpat/libexpat/pull/915"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:11200",
                    "reference_id": "RHSA-2024:11200",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:11200"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:9502",
                    "reference_id": "RHSA-2024:9502",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:9502"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:9541",
                    "reference_id": "RHSA-2024:9541",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:9541"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:3350",
                    "reference_id": "RHSA-2025:3350",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:3350"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7145-1/",
                    "reference_id": "USN-7145-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7145-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582483?format=api",
                    "purl": "pkg:deb/debian/expat@2.2.10-2%2Bdeb11u5?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-1fms-7y9v-dfc5"
                        },
                        {
                            "vulnerability": "VCID-77y6-jskt-qucb"
                        },
                        {
                            "vulnerability": "VCID-jqe4-44gw-wbhu"
                        },
                        {
                            "vulnerability": "VCID-nguf-68jf-ryaz"
                        },
                        {
                            "vulnerability": "VCID-nktd-7gph-kkb1"
                        },
                        {
                            "vulnerability": "VCID-qmx9-wkj4-67h3"
                        },
                        {
                            "vulnerability": "VCID-u5pr-wheu-h7c6"
                        },
                        {
                            "vulnerability": "VCID-utz3-ytaf-cbht"
                        },
                        {
                            "vulnerability": "VCID-v41j-xj8s-m7ar"
                        },
                        {
                            "vulnerability": "VCID-yw8s-ezc7-6ub8"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.2.10-2%252Bdeb11u5%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582893?format=api",
                    "purl": "pkg:deb/debian/expat@2.2.10-2%2Bdeb11u7?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.2.10-2%252Bdeb11u7%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582484?format=api",
                    "purl": "pkg:deb/debian/expat@2.5.0-1%2Bdeb12u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-77y6-jskt-qucb"
                        },
                        {
                            "vulnerability": "VCID-jqe4-44gw-wbhu"
                        },
                        {
                            "vulnerability": "VCID-nktd-7gph-kkb1"
                        },
                        {
                            "vulnerability": "VCID-qmx9-wkj4-67h3"
                        },
                        {
                            "vulnerability": "VCID-u5pr-wheu-h7c6"
                        },
                        {
                            "vulnerability": "VCID-utz3-ytaf-cbht"
                        },
                        {
                            "vulnerability": "VCID-v41j-xj8s-m7ar"
                        },
                        {
                            "vulnerability": "VCID-yw8s-ezc7-6ub8"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.5.0-1%252Bdeb12u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582894?format=api",
                    "purl": "pkg:deb/debian/expat@2.6.3-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.6.3-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582485?format=api",
                    "purl": "pkg:deb/debian/expat@2.7.1-2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-77y6-jskt-qucb"
                        },
                        {
                            "vulnerability": "VCID-jqe4-44gw-wbhu"
                        },
                        {
                            "vulnerability": "VCID-nktd-7gph-kkb1"
                        },
                        {
                            "vulnerability": "VCID-utz3-ytaf-cbht"
                        },
                        {
                            "vulnerability": "VCID-v41j-xj8s-m7ar"
                        },
                        {
                            "vulnerability": "VCID-yw8s-ezc7-6ub8"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.7.1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582486?format=api",
                    "purl": "pkg:deb/debian/expat@2.7.5-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.7.5-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2024-50602"
            ],
            "risk_score": 2.6,
            "exploitability": "0.5",
            "weighted_severity": "5.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k2kp-fv3q-vyh2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.2.10-2%252Bdeb11u7%3Fdistro=trixie"
}