Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43414?format=api",
    "vulnerability_id": "VCID-y4vs-hxnb-qfam",
    "summary": "Improper Restriction of XML External Entity Reference\nElasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.",
    "aliases": [
        {
            "alias": "CVE-2018-17247"
        },
        {
            "alias": "GHSA-ccmr-qj26-845g"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62245?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3evp-kg6m-zygj"
                },
                {
                    "vulnerability": "VCID-4pur-cq9a-ufhr"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-65tw-wzs5-sqch"
                },
                {
                    "vulnerability": "VCID-6eke-3z1k-yqfp"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-c2pc-3aws-xugd"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-kf2h-dgfu-17bh"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-qh75-ef6x-n3ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.5.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62244?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3evp-kg6m-zygj"
                },
                {
                    "vulnerability": "VCID-4pur-cq9a-ufhr"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-65tw-wzs5-sqch"
                },
                {
                    "vulnerability": "VCID-6eke-3z1k-yqfp"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-c2pc-3aws-xugd"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-kf2h-dgfu-17bh"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-qh75-ef6x-n3ep"
                },
                {
                    "vulnerability": "VCID-y4vs-hxnb-qfam"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295291?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3evp-kg6m-zygj"
                },
                {
                    "vulnerability": "VCID-4pur-cq9a-ufhr"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-65tw-wzs5-sqch"
                },
                {
                    "vulnerability": "VCID-6eke-3z1k-yqfp"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-c2pc-3aws-xugd"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-kf2h-dgfu-17bh"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-qh75-ef6x-n3ep"
                },
                {
                    "vulnerability": "VCID-y4vs-hxnb-qfam"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.5.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17247",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51659",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51604",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51637",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51593",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51652",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17247"
        },
        {
            "reference_url": "https://discuss.elastic.co/t/elastic-stack-6-5-2-security-update/159594",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.elastic.co/t/elastic-stack-6-5-2-security-update/159594"
        },
        {
            "reference_url": "https://www.elastic.co/community/security",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.elastic.co/community/security"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/106294",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.securityfocus.com/bid/106294"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17247",
            "reference_id": "CVE-2018-17247",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17247"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ccmr-qj26-845g",
            "reference_id": "GHSA-ccmr-qj26-845g",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-ccmr-qj26-845g"
        }
    ],
    "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-y4vs-hxnb-qfam"
}