Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929260?format=api",
            "purl": "pkg:deb/debian/libxmltok@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxmltok@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929259?format=api",
            "purl": "pkg:deb/debian/libxmltok@1.2-4?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libxmltok@1.2-4%3Fdistro=bullseye"
        }
    ],
    "affected_packages": [],
    "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"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-11742"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-awtz-ujdq-efht"
}