Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64500?format=api",
    "purl": "pkg:maven/com.sap.jenkinsci/remote-jobs-view-plugin@0.0.3",
    "type": "maven",
    "namespace": "com.sap.jenkinsci",
    "name": "remote-jobs-view-plugin",
    "version": "0.0.3",
    "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/44823?format=api",
            "vulnerability_id": "VCID-14kv-vvaj-uuc8",
            "summary": "Improper Restriction of XML External Entity Reference\nJenkins remote-jobs-view-plugin Plugin 0.0.3 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.",
            "references": [
                {
                    "reference_url": "https://www.jenkins.io/security/advisory/2023-03-21/#SECURITY-2956",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.jenkins.io/security/advisory/2023-03-21/#SECURITY-2956"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28684",
                    "reference_id": "CVE-2023-28684",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-28684"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-58ch-c2jf-5g23",
                    "reference_id": "GHSA-58ch-c2jf-5g23",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-58ch-c2jf-5g23"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-28684",
                "GHSA-58ch-c2jf-5g23"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-14kv-vvaj-uuc8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sap.jenkinsci/remote-jobs-view-plugin@0.0.3"
}