Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52157?format=api",
    "purl": "pkg:maven/org.picketlink/picketlink-federation@2.6-alpha0",
    "type": "maven",
    "namespace": "org.picketlink",
    "name": "picketlink-federation",
    "version": "2.6-alpha0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.5.3.SP14",
    "latest_non_vulnerable_version": "2.5.3.SP14",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37807?format=api",
            "vulnerability_id": "VCID-2u9c-d6qt-syg8",
            "summary": "Wrong security context loaded when using SAML2 STS Login Module\nThe `org.jboss.security.plugins.mapping.JBossMappingManager` implementation in this package uses the default security domain when a security domain is undefined, which allows remote authenticated users to bypass intended access restrictions by leveraging credentials on the default domain for a role that is also on the application domain.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/CVE-2014-7827",
                    "reference_id": "CVE-2014-7827",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/CVE-2014-7827"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2014-7827"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2u9c-d6qt-syg8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.picketlink/picketlink-federation@2.6-alpha0"
}