Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/107798?format=api",
    "vulnerability_id": "VCID-c2pc-3aws-xugd",
    "summary": "elasticsearch: scrolling search can leak fields that should be hidden allowing access restriction bypass",
    "aliases": [
        {
            "alias": "CVE-2020-7019"
        },
        {
            "alias": "GHSA-c77j-p484-h84m"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/154129?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.8.12",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-65tw-wzs5-sqch"
                },
                {
                    "vulnerability": "VCID-6eke-3z1k-yqfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.8.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/154128?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-65tw-wzs5-sqch"
                },
                {
                    "vulnerability": "VCID-6eke-3z1k-yqfp"
                },
                {
                    "vulnerability": "VCID-cp76-8sxr-s3fz"
                },
                {
                    "vulnerability": "VCID-dbq9-bm2z-7kf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.9.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58624?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-3evp-kg6m-zygj"
                },
                {
                    "vulnerability": "VCID-65tw-wzs5-sqch"
                },
                {
                    "vulnerability": "VCID-6eke-3z1k-yqfp"
                },
                {
                    "vulnerability": "VCID-874a-7avt-6qea"
                },
                {
                    "vulnerability": "VCID-8c97-6vkx-vfc3"
                },
                {
                    "vulnerability": "VCID-c2pc-3aws-xugd"
                },
                {
                    "vulnerability": "VCID-j71w-rzc7-2qgs"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-qh75-ef6x-n3ep"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7019.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7019.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7019",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3893",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00176",
                    "scoring_system": "epss",
                    "scoring_elements": "0.38843",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7019"
        },
        {
            "reference_url": "https://discuss.elastic.co/t/elastic-stack-7-9-0-and-6-8-12-security-update/245456",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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-7-9-0-and-6-8-12-security-update/245456"
        },
        {
            "reference_url": "https://github.com/elastic/elasticsearch",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/elastic/elasticsearch"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7019",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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-2020-7019"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20200827-0001",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20200827-0001"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20200827-0001/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20200827-0001/"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1870346",
            "reference_id": "1870346",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1870346"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-c77j-p484-h84m",
            "reference_id": "GHSA-c77j-p484-h84m",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-c77j-p484-h84m"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 270,
            "name": "Privilege Context Switching Error",
            "description": "The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control."
        },
        {
            "cwe_id": 269,
            "name": "Improper Privilege Management",
            "description": "The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor."
        },
        {
            "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": 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-c2pc-3aws-xugd"
}