Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/586608?format=api",
    "purl": "pkg:deb/debian/expat@2.2.1-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "expat",
    "version": "2.2.1-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.6-2",
    "latest_non_vulnerable_version": "2.7.5-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73009?format=api",
            "vulnerability_id": "VCID-r14v-u2r3-rkhz",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9233.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-9233.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-9233",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4851",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48628",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48571",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48592",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48565",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48578",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48546",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48569",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48521",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00252",
                            "scoring_system": "epss",
                            "scoring_elements": "0.48575",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-9233"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9233",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9233"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:N/A:P"
                        },
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/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://bugzilla.redhat.com/show_bug.cgi?id=1462729",
                    "reference_id": "1462729",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1462729"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201706-32",
                    "reference_id": "ASA-201706-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201706-32"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201707-27",
                    "reference_id": "ASA-201707-27",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201707-27"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-305",
                    "reference_id": "AVG-305",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-305"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-306",
                    "reference_id": "AVG-306",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-306"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3356-1/",
                    "reference_id": "USN-3356-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3356-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3356-2/",
                    "reference_id": "USN-3356-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3356-2/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4825-1/",
                    "reference_id": "USN-USN-4825-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4825-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/586608?format=api",
                    "purl": "pkg:deb/debian/expat@2.2.1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.2.1-1%3Fdistro=trixie"
                },
                {
                    "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/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/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-2017-9233"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r14v-u2r3-rkhz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@2.2.1-1%3Fdistro=trixie"
}