Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55820?format=api",
    "purl": "pkg:composer/symfony/security-http@3.3.12",
    "type": "composer",
    "namespace": "symfony",
    "name": "security-http",
    "version": "3.3.12",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.3.13",
    "latest_non_vulnerable_version": "6.3.8",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39962?format=api",
            "vulnerability_id": "VCID-djnm-e9r4-c3f5",
            "summary": "`DefaultAuthenticationSuccessHandler` or `DefaultAuthenticationFailureHandler` take the content of the `_target_path` parameter and generate a redirect response but no check is performed on the path, which could be an absolute URL to an external domain, opening redirect vulnerability. Open redirect vulnerability are not too much considered but they can be exploited for example to mount effective phishing attacks.",
            "references": [
                {
                    "reference_url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16652",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16652"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/pull/24995",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/pull/24995"
                },
                {
                    "reference_url": "https://symfony.com/cve-2017-16652",
                    "reference_id": "CVE-2017-16652",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2017-16652"
                },
                {
                    "reference_url": "http://symfony.com/blog/cve-2017-16652-open-redirect-vulnerability-on-security-handlers",
                    "reference_id": "CVE-2017-16652-OPEN-REDIRECT-VULNERABILITY-ON-SECURITY-HANDLERS",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://symfony.com/blog/cve-2017-16652-open-redirect-vulnerability-on-security-handlers"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55824?format=api",
                    "purl": "pkg:composer/symfony/security-http@3.3.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@3.3.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55825?format=api",
                    "purl": "pkg:composer/symfony/security-http@3.4.0-BETA5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@3.4.0-BETA5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55826?format=api",
                    "purl": "pkg:composer/symfony/security-http@4.0.0-BETA5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@4.0.0-BETA5"
                }
            ],
            "aliases": [
                "CVE-2017-16652"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-djnm-e9r4-c3f5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@3.3.12"
}