Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/5957?format=api",
    "purl": "pkg:deb/debian/bouncycastle@1.39-2",
    "type": "deb",
    "namespace": "debian",
    "name": "bouncycastle",
    "version": "1.39-2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.68-2",
    "latest_non_vulnerable_version": "1.68-2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5767?format=api",
            "vulnerability_id": "VCID-qe69-rd9d-4kgg",
            "summary": "authentication bypass",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28052",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28052"
                },
                {
                    "reference_url": "https://github.com/bcgit/bc-java/commit/97578f9b7ed277e6ecb58834e85e3d18385a4219",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/bcgit/bc-java/commit/97578f9b7ed277e6ecb58834e85e3d18385a4219"
                },
                {
                    "reference_url": "https://www.bouncycastle.org/releasenotes.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.bouncycastle.org/releasenotes.html"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977683",
                    "reference_id": "977683",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977683"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1372",
                    "reference_id": "AVG-1372",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1372"
                },
                {
                    "reference_url": "https://github.com/bcgit/bc-java/wiki/CVE-2020-28052",
                    "reference_id": "CVE-2020-28052",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/bcgit/bc-java/wiki/CVE-2020-28052"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-28052",
                    "reference_id": "CVE-2020-28052",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-28052"
                },
                {
                    "reference_url": "https://www.synopsys.com/blogs/software-security/cve-2020-28052-bouncy-castle/",
                    "reference_id": "CVE-2020-28052-BOUNCY-CASTLE",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.synopsys.com/blogs/software-security/cve-2020-28052-bouncy-castle/"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-73xv-w5gp-frxh",
                    "reference_id": "GHSA-73xv-w5gp-frxh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-73xv-w5gp-frxh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5965?format=api",
                    "purl": "pkg:deb/debian/bouncycastle@1.68-2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bouncycastle@1.68-2"
                }
            ],
            "aliases": [
                "CVE-2020-28052",
                "GHSA-73xv-w5gp-frxh"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qe69-rd9d-4kgg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bouncycastle@1.39-2"
}