Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46672?format=api",
    "vulnerability_id": "VCID-1ubv-cmf7-3ffv",
    "summary": "Improper Restriction of XML External Entity Reference\nMultiple WSO2 products have been identified as vulnerable due to an XML External Entity (XXE) attack abuses a widely available but rarely used feature of XML parsers to access sensitive information.",
    "aliases": [
        {
            "alias": "CVE-2023-6836"
        },
        {
            "alias": "GHSA-cr8h-fr86-8vfv"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68233?format=api",
            "purl": "pkg:maven/org.wso2.am/wso2am@4.0.0-beta",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.am/wso2am@4.0.0-beta"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68222?format=api",
            "purl": "pkg:maven/org.wso2.carbon.analytics-common/org.wso2.carbon.event.input.adapter.core@5.2.23",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.analytics-common/org.wso2.carbon.event.input.adapter.core@5.2.23"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68221?format=api",
            "purl": "pkg:maven/org.wso2.carbon.commons/org.wso2.carbon.ntask.core@4.7.24",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.commons/org.wso2.carbon.ntask.core@4.7.24"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68210?format=api",
            "purl": "pkg:maven/org.wso2.carbon.event-processing/org.wso2.carbon.event.processor.core@2.2.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.event-processing/org.wso2.carbon.event.processor.core@2.2.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68201?format=api",
            "purl": "pkg:maven/org.wso2.carbon.governance/org.wso2.carbon.governance.common@4.8.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.governance/org.wso2.carbon.governance.common@4.8.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68213?format=api",
            "purl": "pkg:maven/org.wso2.carbon.registry/org.wso2.carbon.registry.extensions@4.7.31",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.registry/org.wso2.carbon.registry.extensions@4.7.31"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61435?format=api",
            "purl": "pkg:maven/org.wso2.am.microgw/org.wso2.micro.gateway.core@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1ubv-cmf7-3ffv"
                },
                {
                    "vulnerability": "VCID-afh6-1arv-wkbk"
                },
                {
                    "vulnerability": "VCID-cjdq-8bzy-8uft"
                },
                {
                    "vulnerability": "VCID-cs6r-dpvb-r7bw"
                },
                {
                    "vulnerability": "VCID-dwym-rb1b-8fd5"
                },
                {
                    "vulnerability": "VCID-mpxj-zk4u-mkdq"
                },
                {
                    "vulnerability": "VCID-snaq-p5fe-qfeu"
                },
                {
                    "vulnerability": "VCID-sp1k-1yzm-d7au"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.am.microgw/org.wso2.micro.gateway.core@2.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61443?format=api",
            "purl": "pkg:maven/org.wso2.carbon.analytics-common/org.wso2.carbon.event.publisher.core@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1ubv-cmf7-3ffv"
                },
                {
                    "vulnerability": "VCID-afh6-1arv-wkbk"
                },
                {
                    "vulnerability": "VCID-cs6r-dpvb-r7bw"
                },
                {
                    "vulnerability": "VCID-dwym-rb1b-8fd5"
                },
                {
                    "vulnerability": "VCID-snaq-p5fe-qfeu"
                },
                {
                    "vulnerability": "VCID-wgy3-nmnk-83gf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.analytics-common/org.wso2.carbon.event.publisher.core@2.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61444?format=api",
            "purl": "pkg:maven/org.wso2.carbon.analytics-common/org.wso2.carbon.event.publisher.core@2.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1ubv-cmf7-3ffv"
                },
                {
                    "vulnerability": "VCID-cs6r-dpvb-r7bw"
                },
                {
                    "vulnerability": "VCID-j2sz-yj97-dqcz"
                },
                {
                    "vulnerability": "VCID-nrva-qqy9-dbh3"
                },
                {
                    "vulnerability": "VCID-snaq-p5fe-qfeu"
                },
                {
                    "vulnerability": "VCID-wgy3-nmnk-83gf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.wso2.carbon.analytics-common/org.wso2.carbon.event.publisher.core@2.5.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/wso2/carbon-analytics-common/commit/9478336859306d3ea13b25cb386f29c183707fde",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wso2/carbon-analytics-common/commit/9478336859306d3ea13b25cb386f29c183707fde"
        },
        {
            "reference_url": "https://github.com/wso2/carbon-commons/commit/a08a587e3dd5146121a7b47a0fdd06ddbcd903f4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wso2/carbon-commons/commit/a08a587e3dd5146121a7b47a0fdd06ddbcd903f4"
        },
        {
            "reference_url": "https://github.com/wso2/carbon-event-processing/commit/e9953afd46a45f704de341a081f710cbdfa3f975",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wso2/carbon-event-processing/commit/e9953afd46a45f704de341a081f710cbdfa3f975"
        },
        {
            "reference_url": "https://github.com/wso2/carbon-governance/commit/ad36968d5a11d4fc35fa5cc4e8b5ae9a04e5bb4c",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wso2/carbon-governance/commit/ad36968d5a11d4fc35fa5cc4e8b5ae9a04e5bb4c"
        },
        {
            "reference_url": "https://github.com/wso2/carbon-registry/commit/738b2a0b3e5f118527da236467ed72d9fd9ce40e",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wso2/carbon-registry/commit/738b2a0b3e5f118527da236467ed72d9fd9ce40e"
        },
        {
            "reference_url": "https://github.com/wso2/product-apim/commit/96e8f5d6566d57bbbb8d4257f6f55057a79d00b5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/wso2/product-apim/commit/96e8f5d6566d57bbbb8d4257f6f55057a79d00b5"
        },
        {
            "reference_url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2020-0716",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2020-0716"
        },
        {
            "reference_url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2020-0716/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2021/WSO2-2020-0716/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6836",
            "reference_id": "CVE-2023-6836",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6836"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cr8h-fr86-8vfv",
            "reference_id": "GHSA-cr8h-fr86-8vfv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-cr8h-fr86-8vfv"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1ubv-cmf7-3ffv"
}