Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61435?format=api",
    "purl": "pkg:maven/org.wso2.am.microgw/org.wso2.micro.gateway.core@2.2.0",
    "type": "maven",
    "namespace": "org.wso2.am.microgw",
    "name": "org.wso2.micro.gateway.core",
    "version": "2.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46672?format=api",
            "vulnerability_id": "VCID-1ubv-cmf7-3ffv",
            "summary": "Improper Restriction of XML External Entity Reference\nMultiple WSO2 products have been identified as vulnerable due to an XML External Entity (XXE) attack abuses a widely available but rarely used feature of XML parsers to access sensitive information.",
            "references": [
                {
                    "reference_url": "https://github.com/wso2/carbon-analytics-common/commit/9478336859306d3ea13b25cb386f29c183707fde",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wso2/carbon-analytics-common/commit/9478336859306d3ea13b25cb386f29c183707fde"
                },
                {
                    "reference_url": "https://github.com/wso2/carbon-commons/commit/a08a587e3dd5146121a7b47a0fdd06ddbcd903f4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wso2/carbon-commons/commit/a08a587e3dd5146121a7b47a0fdd06ddbcd903f4"
                },
                {
                    "reference_url": "https://github.com/wso2/carbon-event-processing/commit/e9953afd46a45f704de341a081f710cbdfa3f975",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wso2/carbon-event-processing/commit/e9953afd46a45f704de341a081f710cbdfa3f975"
                },
                {
                    "reference_url": "https://github.com/wso2/carbon-governance/commit/ad36968d5a11d4fc35fa5cc4e8b5ae9a04e5bb4c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wso2/carbon-governance/commit/ad36968d5a11d4fc35fa5cc4e8b5ae9a04e5bb4c"
                },
                {
                    "reference_url": "https://github.com/wso2/carbon-registry/commit/738b2a0b3e5f118527da236467ed72d9fd9ce40e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wso2/carbon-registry/commit/738b2a0b3e5f118527da236467ed72d9fd9ce40e"
                },
                {
                    "reference_url": "https://github.com/wso2/product-apim/commit/96e8f5d6566d57bbbb8d4257f6f55057a79d00b5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wso2/product-apim/commit/96e8f5d6566d57bbbb8d4257f6f55057a79d00b5"
                },
                {
                    "reference_url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2020-0716/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2020-0716/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6836",
                    "reference_id": "CVE-2023-6836",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6836"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cr8h-fr86-8vfv",
                    "reference_id": "GHSA-cr8h-fr86-8vfv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-cr8h-fr86-8vfv"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-6836",
                "GHSA-cr8h-fr86-8vfv"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1ubv-cmf7-3ffv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42943?format=api",
            "vulnerability_id": "VCID-cs6r-dpvb-r7bw",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nA reflected XSS issue exists in the Management Console of several WSO2 products. This affects API Manager 2.2.0, 2.5.0, 2.6.0, 3.0.0, 3.1.0, 3.2.0, and 4.0.0; API Manager Analytics 2.2.0, 2.5.0, and 2.6.0; API Microgateway 2.2.0; Data Analytics Server 3.2.0; Enterprise Integrator 6.2.0, 6.3.0, 6.4.0, 6.5.0, and 6.6.0; IS as Key Manager 5.5.0, 5.6.0, 5.7.0, 5.9.0, and 5.10.0; Identity Server 5.5.0, 5.6.0, 5.7.0, 5.9.0, 5.10.0, and 5.11.0; Identity Server Analytics 5.5.0 and 5.6.0; and WSO2 Micro Integrator 1.0.0.",
            "references": [
                {
                    "reference_url": "https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1603",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1603"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29548",
                    "reference_id": "CVE-2022-29548",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29548"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-29548"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cs6r-dpvb-r7bw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.am.microgw/org.wso2.micro.gateway.core@2.2.0"
}