Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57092?format=api",
    "purl": "pkg:maven/org.springframework.credhub/spring-credhub-core@1.1.0",
    "type": "maven",
    "namespace": "org.springframework.credhub",
    "name": "spring-credhub-core",
    "version": "1.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.1.0",
    "latest_non_vulnerable_version": "1.1.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40476?format=api",
            "vulnerability_id": "VCID-s8n3-a28m-qbeh",
            "summary": "Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)\nPivotal CredHub Service Broker, versions prior to 1.1.0, uses a guessable form of random number generation in creating service broker's UAA client. A remote malicious user may guess the client secret and obtain or modify credentials for users of the CredHub Service.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15795",
                    "reference_id": "CVE-2018-15795",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15795"
                },
                {
                    "reference_url": "https://pivotal.io/security/cve-2018-15795",
                    "reference_id": "CVE-2018-15795",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pivotal.io/security/cve-2018-15795"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q3jg-4c82-j4xh",
                    "reference_id": "GHSA-q3jg-4c82-j4xh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q3jg-4c82-j4xh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57092?format=api",
                    "purl": "pkg:maven/org.springframework.credhub/spring-credhub-core@1.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.credhub/spring-credhub-core@1.1.0"
                }
            ],
            "aliases": [
                "CVE-2018-15795",
                "GHSA-q3jg-4c82-j4xh"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s8n3-a28m-qbeh"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.credhub/spring-credhub-core@1.1.0"
}