Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51202?format=api",
    "purl": "pkg:composer/zendframework/zendframework1@1.11.0",
    "type": "composer",
    "namespace": "zendframework",
    "name": "zendframework1",
    "version": "1.11.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.12.20",
    "latest_non_vulnerable_version": "1.12.20",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37473?format=api",
            "vulnerability_id": "VCID-cp1a-fprd-9fhk",
            "summary": "Improper Restriction of XML External Entity Reference\nPotential XML eXternal Entity injection vectors in Zend Framework 1 `Zend_Feed` component.",
            "references": [
                {
                    "reference_url": "https://framework.zend.com/security/advisory/ZF2012-05",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://framework.zend.com/security/advisory/ZF2012-05"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51343?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.12.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ncq-wptr-k3ha"
                        },
                        {
                            "vulnerability": "VCID-2xx4-77e9-pfbb"
                        },
                        {
                            "vulnerability": "VCID-5bm4-grk6-w7hk"
                        },
                        {
                            "vulnerability": "VCID-649h-2f2f-nbam"
                        },
                        {
                            "vulnerability": "VCID-6fzg-den8-rqc8"
                        },
                        {
                            "vulnerability": "VCID-6xpr-93ef-27cu"
                        },
                        {
                            "vulnerability": "VCID-8atm-865q-mkf3"
                        },
                        {
                            "vulnerability": "VCID-9bm9-b48z-zqcm"
                        },
                        {
                            "vulnerability": "VCID-a72a-7k6u-rqgr"
                        },
                        {
                            "vulnerability": "VCID-afnn-53q5-wqft"
                        },
                        {
                            "vulnerability": "VCID-b1da-n1u7-43hj"
                        },
                        {
                            "vulnerability": "VCID-bjvu-jg9w-mqdd"
                        },
                        {
                            "vulnerability": "VCID-c8kp-n8m3-2khe"
                        },
                        {
                            "vulnerability": "VCID-e9ut-smfp-7yb4"
                        },
                        {
                            "vulnerability": "VCID-grk8-aj34-hqb4"
                        },
                        {
                            "vulnerability": "VCID-h5yf-ahec-gbgx"
                        },
                        {
                            "vulnerability": "VCID-n2gy-93nd-gber"
                        },
                        {
                            "vulnerability": "VCID-njsg-e1w1-9qcy"
                        },
                        {
                            "vulnerability": "VCID-ps73-776n-zffn"
                        },
                        {
                            "vulnerability": "VCID-q73m-16a9-rkgx"
                        },
                        {
                            "vulnerability": "VCID-q74z-645k-c7dk"
                        },
                        {
                            "vulnerability": "VCID-r5y8-nc2w-kqde"
                        },
                        {
                            "vulnerability": "VCID-rc3w-5r97-k3b3"
                        },
                        {
                            "vulnerability": "VCID-sjw9-2fwe-5ybg"
                        },
                        {
                            "vulnerability": "VCID-tpdc-c3mz-zyd2"
                        },
                        {
                            "vulnerability": "VCID-uvgx-4m6v-2bg7"
                        },
                        {
                            "vulnerability": "VCID-wkkp-82dc-huhr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.1"
                }
            ],
            "aliases": [
                "ZF2012-05"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cp1a-fprd-9fhk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55272?format=api",
            "vulnerability_id": "VCID-j5kg-jzxz-ruam",
            "summary": "ZendFramework potential XML eXternal Entity injection vectors\n`Zend_Feed_Rss` and `Zend_Feed_Atom` were found to contain potential XML eXternal Entity (XXE) vectors due to insecure usage of PHP's DOM extension. External entities could be specified by adding a specific DOCTYPE element to feeds; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections.\n\nA similar issue was fixed for 1.11.13 and 1.12.0, in the `Zend_Feed::import()` factory method; however, the reporter of the issue discovered that the individual classes contained similar functionality in their constructors which remained vulnerable.",
            "references": [
                {
                    "reference_url": "https://framework.zend.com/security/advisory/ZF2012-05",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://framework.zend.com/security/advisory/ZF2012-05"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2012-05.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2012-05.yaml"
                },
                {
                    "reference_url": "https://github.com/zendframework/zf1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/zendframework/zf1"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4j9x-g4x8-vcmf",
                    "reference_id": "GHSA-4j9x-g4x8-vcmf",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-4j9x-g4x8-vcmf"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81792?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.11.15",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.11.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51343?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.12.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ncq-wptr-k3ha"
                        },
                        {
                            "vulnerability": "VCID-2xx4-77e9-pfbb"
                        },
                        {
                            "vulnerability": "VCID-5bm4-grk6-w7hk"
                        },
                        {
                            "vulnerability": "VCID-649h-2f2f-nbam"
                        },
                        {
                            "vulnerability": "VCID-6fzg-den8-rqc8"
                        },
                        {
                            "vulnerability": "VCID-6xpr-93ef-27cu"
                        },
                        {
                            "vulnerability": "VCID-8atm-865q-mkf3"
                        },
                        {
                            "vulnerability": "VCID-9bm9-b48z-zqcm"
                        },
                        {
                            "vulnerability": "VCID-a72a-7k6u-rqgr"
                        },
                        {
                            "vulnerability": "VCID-afnn-53q5-wqft"
                        },
                        {
                            "vulnerability": "VCID-b1da-n1u7-43hj"
                        },
                        {
                            "vulnerability": "VCID-bjvu-jg9w-mqdd"
                        },
                        {
                            "vulnerability": "VCID-c8kp-n8m3-2khe"
                        },
                        {
                            "vulnerability": "VCID-e9ut-smfp-7yb4"
                        },
                        {
                            "vulnerability": "VCID-grk8-aj34-hqb4"
                        },
                        {
                            "vulnerability": "VCID-h5yf-ahec-gbgx"
                        },
                        {
                            "vulnerability": "VCID-n2gy-93nd-gber"
                        },
                        {
                            "vulnerability": "VCID-njsg-e1w1-9qcy"
                        },
                        {
                            "vulnerability": "VCID-ps73-776n-zffn"
                        },
                        {
                            "vulnerability": "VCID-q73m-16a9-rkgx"
                        },
                        {
                            "vulnerability": "VCID-q74z-645k-c7dk"
                        },
                        {
                            "vulnerability": "VCID-r5y8-nc2w-kqde"
                        },
                        {
                            "vulnerability": "VCID-rc3w-5r97-k3b3"
                        },
                        {
                            "vulnerability": "VCID-sjw9-2fwe-5ybg"
                        },
                        {
                            "vulnerability": "VCID-tpdc-c3mz-zyd2"
                        },
                        {
                            "vulnerability": "VCID-uvgx-4m6v-2bg7"
                        },
                        {
                            "vulnerability": "VCID-wkkp-82dc-huhr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.1"
                }
            ],
            "aliases": [
                "GHSA-4j9x-g4x8-vcmf"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j5kg-jzxz-ruam"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55328?format=api",
            "vulnerability_id": "VCID-m1dk-ptr5-23c2",
            "summary": "ZendFramework potential SQL Injection Vector When Using PDO_MySql\nDevelopers using non-ASCII-compatible encodings in conjunction with the MySQL PDO driver of PHP may be vulnerable to SQL injection attacks. Developers using ASCII-compatible encodings like UTF8 or latin1 are not affected by this PHP issue, which is described in more detail here:\n\nhttp://bugs.php.net/bug.php?id=47802\nThe PHP Group included a feature in PHP 5.3.6+ that allows any character set information to be passed as part of the DSN in PDO to allow both the database as well as the C-level driver to be aware of which charset is in use which is of special importance when PDO's quoting mechanisms are utilized, which Zend Framework also relies on.",
            "references": [
                {
                    "reference_url": "http://bugs.php.net/bug.php?id=47802",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://bugs.php.net/bug.php?id=47802"
                },
                {
                    "reference_url": "https://framework.zend.com/security/advisory/ZF2011-02",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://framework.zend.com/security/advisory/ZF2011-02"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2011-02.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2011-02.yaml"
                },
                {
                    "reference_url": "https://github.com/zendframework/zf1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/zendframework/zf1"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qf36-fx9f-232x",
                    "reference_id": "GHSA-qf36-fx9f-232x",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-qf36-fx9f-232x"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81807?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.11.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.11.6"
                }
            ],
            "aliases": [
                "GHSA-qf36-fx9f-232x"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m1dk-ptr5-23c2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37405?format=api",
            "vulnerability_id": "VCID-m1p7-zwwq-jbdg",
            "summary": "Potential SQL Injection Vector When Using `PDO_MySql`.",
            "references": [
                {
                    "reference_url": "https://framework.zend.com/security/advisory/ZF2011-02",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://framework.zend.com/security/advisory/ZF2011-02"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51134?format=api",
                    "purl": "pkg:composer/zendframework/zendframework1@1.12.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2ncq-wptr-k3ha"
                        },
                        {
                            "vulnerability": "VCID-2xx4-77e9-pfbb"
                        },
                        {
                            "vulnerability": "VCID-5bm4-grk6-w7hk"
                        },
                        {
                            "vulnerability": "VCID-649h-2f2f-nbam"
                        },
                        {
                            "vulnerability": "VCID-6fzg-den8-rqc8"
                        },
                        {
                            "vulnerability": "VCID-6xpr-93ef-27cu"
                        },
                        {
                            "vulnerability": "VCID-8atm-865q-mkf3"
                        },
                        {
                            "vulnerability": "VCID-9bm9-b48z-zqcm"
                        },
                        {
                            "vulnerability": "VCID-a72a-7k6u-rqgr"
                        },
                        {
                            "vulnerability": "VCID-afnn-53q5-wqft"
                        },
                        {
                            "vulnerability": "VCID-b1da-n1u7-43hj"
                        },
                        {
                            "vulnerability": "VCID-bjvu-jg9w-mqdd"
                        },
                        {
                            "vulnerability": "VCID-c8kp-n8m3-2khe"
                        },
                        {
                            "vulnerability": "VCID-cp1a-fprd-9fhk"
                        },
                        {
                            "vulnerability": "VCID-e9ut-smfp-7yb4"
                        },
                        {
                            "vulnerability": "VCID-grk8-aj34-hqb4"
                        },
                        {
                            "vulnerability": "VCID-h5yf-ahec-gbgx"
                        },
                        {
                            "vulnerability": "VCID-j5kg-jzxz-ruam"
                        },
                        {
                            "vulnerability": "VCID-n2gy-93nd-gber"
                        },
                        {
                            "vulnerability": "VCID-njsg-e1w1-9qcy"
                        },
                        {
                            "vulnerability": "VCID-nsuf-xar5-f3hj"
                        },
                        {
                            "vulnerability": "VCID-ps73-776n-zffn"
                        },
                        {
                            "vulnerability": "VCID-q73m-16a9-rkgx"
                        },
                        {
                            "vulnerability": "VCID-q74z-645k-c7dk"
                        },
                        {
                            "vulnerability": "VCID-r5y8-nc2w-kqde"
                        },
                        {
                            "vulnerability": "VCID-rc3w-5r97-k3b3"
                        },
                        {
                            "vulnerability": "VCID-sjw9-2fwe-5ybg"
                        },
                        {
                            "vulnerability": "VCID-tpdc-c3mz-zyd2"
                        },
                        {
                            "vulnerability": "VCID-uvgx-4m6v-2bg7"
                        },
                        {
                            "vulnerability": "VCID-wkkp-82dc-huhr"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.12.0"
                }
            ],
            "aliases": [
                "ZF2011-02"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m1p7-zwwq-jbdg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.11.0"
}