Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53259?format=api",
    "purl": "pkg:composer/symfony/security-core@2.8.0-alpha",
    "type": "composer",
    "namespace": "symfony",
    "name": "security-core",
    "version": "2.8.0-alpha",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.8.6",
    "latest_non_vulnerable_version": "4.0.7",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38473?format=api",
            "vulnerability_id": "VCID-14k5-2gnt-8qgd",
            "summary": "Unauthorized access on a misconfigured LDAP server\nThere's a flaw in `LdapBindAuthenticationProvider` that allows for an unauthorized access on a misconfigured LDAP server when using an empty password. Applications are affected only if they use the LDAP authentication provider.",
            "references": [
                {
                    "reference_url": "https://github.com/symfony/symfony/pull/18736",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/pull/18736"
                },
                {
                    "reference_url": "https://symfony.com/cve-2016-2403",
                    "reference_id": "CVE-2016-2403",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2016-2403"
                },
                {
                    "reference_url": "http://symfony.com/blog/cve-2016-2403-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password",
                    "reference_id": "CVE-2016-2403-UNAUTHORIZED-ACCESS-ON-A-MISCONFIGURED-LDAP-SERVER-WHEN-USING-AN-EMPTY-PASSWORD",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://symfony.com/blog/cve-2016-2403-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53261?format=api",
                    "purl": "pkg:composer/symfony/security-core@2.8.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-core@2.8.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53262?format=api",
                    "purl": "pkg:composer/symfony/security-core@3.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-core@3.0.6"
                }
            ],
            "aliases": [
                "CVE-2016-2403"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-14k5-2gnt-8qgd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-core@2.8.0-alpha"
}