Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "GHSA-4j9x-g4x8-vcmf"
        }
    ],
    "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-6fzg-den8-rqc8"
                },
                {
                    "vulnerability": "VCID-6xpr-93ef-27cu"
                },
                {
                    "vulnerability": "VCID-8atm-865q-mkf3"
                },
                {
                    "vulnerability": "VCID-a72a-7k6u-rqgr"
                },
                {
                    "vulnerability": "VCID-afnn-53q5-wqft"
                },
                {
                    "vulnerability": "VCID-bjvu-jg9w-mqdd"
                },
                {
                    "vulnerability": "VCID-grk8-aj34-hqb4"
                },
                {
                    "vulnerability": "VCID-n2gy-93nd-gber"
                },
                {
                    "vulnerability": "VCID-njsg-e1w1-9qcy"
                },
                {
                    "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51202?format=api",
            "purl": "pkg:composer/zendframework/zendframework1@1.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cp1a-fprd-9fhk"
                },
                {
                    "vulnerability": "VCID-j5kg-jzxz-ruam"
                },
                {
                    "vulnerability": "VCID-m1dk-ptr5-23c2"
                },
                {
                    "vulnerability": "VCID-m1p7-zwwq-jbdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/zendframework/zendframework1@1.11.0"
        },
        {
            "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-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"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j5kg-jzxz-ruam"
}