Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52238?format=api",
    "purl": "pkg:composer/symfony/symfony@2.4.0-alpha",
    "type": "composer",
    "namespace": "symfony",
    "name": "symfony",
    "version": "2.4.0-alpha",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.5.11",
    "latest_non_vulnerable_version": "8.0.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37838?format=api",
            "vulnerability_id": "VCID-5pmg-t1rb-wbd4",
            "summary": "Unsafe methods in the Request class\nThe `Symfony\\Component\\HttpFoundation\\Request` class provides a mechanism that ensures it does not trust HTTP header values coming from a \"non-trusted\" client. Unfortunately, it assumes that the remote address is always a trusted client if at least one trusted proxy is involved in the request; this allows a man-in-the-middle attack between the latest trusted proxy and the web server. The following methods are impacted: `getPort()`, `isSecure()`, `getHost()` and `getClientIps()`.",
            "references": [
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2015-2309.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2015-2309.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-2309.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-2309.yaml"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/commit/6c73f0ce9302a0091bbfbb96f317e400ce16ef84",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/symfony/symfony/commit/6c73f0ce9302a0091bbfbb96f317e400ce16ef84"
                },
                {
                    "reference_url": "https://github.com/symfony/symfony/pull/14166",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/symfony/symfony/pull/14166"
                },
                {
                    "reference_url": "https://symfony.com/cve-2015-2309",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://symfony.com/cve-2015-2309"
                },
                {
                    "reference_url": "http://symfony.com/blog/cve-2015-2309-unsafe-methods-in-the-request-class",
                    "reference_id": "CVE-2015-2309-UNSAFE-METHODS-IN-THE-REQUEST-CLASS",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://symfony.com/blog/cve-2015-2309-unsafe-methods-in-the-request-class"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52241?format=api",
                    "purl": "pkg:composer/symfony/symfony@2.5.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.5.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52242?format=api",
                    "purl": "pkg:composer/symfony/symfony@2.6.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.6.6"
                }
            ],
            "aliases": [
                "CVE-2015-2309",
                "GHSA-p684-f7fh-jv2j"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5pmg-t1rb-wbd4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37867?format=api",
            "vulnerability_id": "VCID-wdz4-hfer-1ud1",
            "summary": "Esi Code Injection\nApplications with ESI support (and SSI support as of Symfony ) enabled and using the Symfony built-in reverse proxy (the `Symfony\\Component\\HttpKernel\\HttpCache` class) are vulnerable to PHP code injection; a malicious user can inject PHP code that will be executed by the server.",
            "references": [
                {
                    "reference_url": "http://symfony.com/blog/cve-2015-2308-esi-code-injection",
                    "reference_id": "CVE-2015-2308-ESI-CODE-INJECTION",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://symfony.com/blog/cve-2015-2308-esi-code-injection"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52241?format=api",
                    "purl": "pkg:composer/symfony/symfony@2.5.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.5.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52242?format=api",
                    "purl": "pkg:composer/symfony/symfony@2.6.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.6.6"
                }
            ],
            "aliases": [
                "CVE-2015-2308"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wdz4-hfer-1ud1"
        },
        {
            "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/52730?format=api",
                    "purl": "pkg:composer/symfony/symfony@2.7.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.7.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52731?format=api",
                    "purl": "pkg:composer/symfony/symfony@2.8.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@2.8.6"
                },
                {
                    "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@2.4.0-alpha"
}