Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52728?format=api",
    "purl": "pkg:composer/symfony/symfony@3.0.0-alpha",
    "type": "composer",
    "namespace": "symfony",
    "name": "symfony",
    "version": "3.0.0-alpha",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.6",
    "latest_non_vulnerable_version": "8.0.5",
    "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/52732?format=api",
                    "purl": "pkg:composer/symfony/symfony@3.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38131?format=api",
            "vulnerability_id": "VCID-x4nv-gvag-7qf2",
            "summary": "CVE-2016-4423: Large username storage in session\nThe attemptAuthentication function in `Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php` does not limit the length of a username stored in a session, which allows remote attackers to cause a denial of service (session storage consumption) via a series of authentication attempts with long, non-existent usernames.",
            "references": [
                {
                    "reference_url": "https://github.com/symfony/symfony/pull/18733",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/symfony/symfony/pull/18733"
                },
                {
                    "reference_url": "https://symfony.com/cve-2016-4423",
                    "reference_id": "CVE-2016-4423",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://symfony.com/cve-2016-4423"
                },
                {
                    "reference_url": "http://symfony.com/blog/cve-2016-4423-large-username-storage-in-session",
                    "reference_id": "CVE-2016-4423-LARGE-USERNAME-STORAGE-IN-SESSION",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://symfony.com/blog/cve-2016-4423-large-username-storage-in-session"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52732?format=api",
                    "purl": "pkg:composer/symfony/symfony@3.0.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.0.6"
                }
            ],
            "aliases": [
                "CVE-2016-4423"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x4nv-gvag-7qf2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@3.0.0-alpha"
}