Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61416?format=api",
    "purl": "pkg:maven/org.wso2.identity/identity-server-parent@5.6.0",
    "type": "maven",
    "namespace": "org.wso2.identity",
    "name": "identity-server-parent",
    "version": "5.6.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/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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42931?format=api",
            "vulnerability_id": "VCID-ga87-9weh-sfeg",
            "summary": "Unrestricted Upload of File with Dangerous Type\nCertain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a `/fileupload` endpoint with a `Content-Disposition` directory traversal sequence to reach a directory under the web root, such as a `../../../../repository/deployment/server/webapps` directory. This affects WSO2 API Manager 2.2.0 and above through 4.0.0; WSO2 Identity Server 5.2.0 and above through 5.11.0; WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0, and 5.6.0; WSO2 Identity Server as Key Manager 5.3.0 and above through 5.10.0; and WSO2 Enterprise Integrator 6.2.0 and above through 6.6.0.",
            "references": [
                {
                    "reference_url": "https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1738",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1738"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2022/04/22/7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2022/04/22/7"
                },
                {
                    "reference_url": "https://github.com/hakivvi/CVE-2022-29464",
                    "reference_id": "CVE-2022-29464",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/hakivvi/CVE-2022-29464"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29464",
                    "reference_id": "CVE-2022-29464",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29464"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-29464"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ga87-9weh-sfeg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.identity/identity-server-parent@5.6.0"
}