Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/582877?format=api",
    "purl": "pkg:deb/debian/expat@0?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "expat",
    "version": "0",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.1-5",
    "latest_non_vulnerable_version": "2.7.5-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/166241?format=api",
            "vulnerability_id": "VCID-awtz-ujdq-efht",
            "summary": "The writeRandomBytes_RtlGenRandom function in xmlparse.c in libexpat in Expat 2.2.1 and 2.2.2 on Windows allows local users to gain privileges via a Trojan horse ADVAPI32.DLL in the current working directory because of an untrusted search path, aka DLL hijacking.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-11742",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04738",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04799",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04824",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04842",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04879",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04896",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04876",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04854",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04834",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00019",
                            "scoring_system": "epss",
                            "scoring_elements": "0.04782",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-11742"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582877?format=api",
                    "purl": "pkg:deb/debian/expat@0?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@0%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-11742"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-awtz-ujdq-efht"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46538?format=api",
            "vulnerability_id": "VCID-f8mk-n3um-mufk",
            "summary": "Multiple vulnerabilities have been found in Expat, possibly\n    resulting in Denial of Service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1147.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1147.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1147",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78472",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78478",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78509",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78492",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78519",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78524",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78549",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78531",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78523",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01154",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78552",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1147"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1147",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1147"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=801634",
                    "reference_id": "801634",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=801634"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201209-06",
                    "reference_id": "GLSA-201209-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201209-06"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582877?format=api",
                    "purl": "pkg:deb/debian/expat@0?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@0%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-2012-1147"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f8mk-n3um-mufk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/expat@0%3Fdistro=trixie"
}