Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58224?format=api",
    "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.6",
    "type": "maven",
    "namespace": "org.springframework.security.oauth",
    "name": "spring-security-oauth",
    "version": "2.3.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.5.2",
    "latest_non_vulnerable_version": "2.5.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41087?format=api",
            "vulnerability_id": "VCID-rqmm-31xc-eqfp",
            "summary": "URL Redirection to Untrusted Site (Open Redirect)\nSpring Security OAuth could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the `redirect_uri` parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-11269",
                    "reference_id": "CVE-2019-11269",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-11269"
                },
                {
                    "reference_url": "https://pivotal.io/security/cve-2019-11269",
                    "reference_id": "CVE-2019-11269",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pivotal.io/security/cve-2019-11269"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mmf6-6597-3v6m",
                    "reference_id": "GHSA-mmf6-6597-3v6m",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mmf6-6597-3v6m"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58221?format=api",
                    "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.0.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.0.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58222?format=api",
                    "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58223?format=api",
                    "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58224?format=api",
                    "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.6"
                }
            ],
            "aliases": [
                "CVE-2019-11269",
                "GHSA-mmf6-6597-3v6m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rqmm-31xc-eqfp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.6"
}