Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/295178?format=api",
    "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.8.7",
    "type": "maven",
    "namespace": "org.elasticsearch",
    "name": "elasticsearch",
    "version": "6.8.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.8.15",
    "latest_non_vulnerable_version": "9.2.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54204?format=api",
            "vulnerability_id": "VCID-6eke-3z1k-yqfp",
            "summary": "Improper Privilege Management\nElasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7020.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7020.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7020",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00077",
                            "scoring_system": "epss",
                            "scoring_elements": "0.22972",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7020"
                },
                {
                    "reference_url": "https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/elastic/elasticsearch",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/elastic/elasticsearch"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20201123-0001",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20201123-0001"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20201123-0001/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20201123-0001/"
                },
                {
                    "reference_url": "https://staging-website.elastic.co/community/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://staging-website.elastic.co/community/security"
                },
                {
                    "reference_url": "https://staging-website.elastic.co/community/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://staging-website.elastic.co/community/security/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1893125",
                    "reference_id": "1893125",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1893125"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7020",
                    "reference_id": "CVE-2020-7020",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7020"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g9fw-9x87-rmrj",
                    "reference_id": "GHSA-g9fw-9x87-rmrj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g9fw-9x87-rmrj"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:5532",
                    "reference_id": "RHSA-2022:5532",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:5532"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80014?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.8.13",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-3evp-kg6m-zygj"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.8.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80015?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.9.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cp76-8sxr-s3fz"
                        },
                        {
                            "vulnerability": "VCID-dbq9-bm2z-7kf3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.9.2"
                }
            ],
            "aliases": [
                "CVE-2020-7020",
                "GHSA-g9fw-9x87-rmrj"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6eke-3z1k-yqfp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/108144?format=api",
            "vulnerability_id": "VCID-874a-7avt-6qea",
            "summary": "elasticsearch: Generating API keys with specific steps could result in generating API key with elevated privileges",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7009.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7009.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7009",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0043",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62847",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7009"
                },
                {
                    "reference_url": "https://discuss.elastic.co/t/elastic-stack-6-8-8-and-7-6-2-security-update/225920",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://discuss.elastic.co/t/elastic-stack-6-8-8-and-7-6-2-security-update/225920"
                },
                {
                    "reference_url": "https://github.com/elastic/elasticsearch",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/elastic/elasticsearch"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7009",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7009"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20200403-0004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20200403-0004"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20200403-0004/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20200403-0004/"
                },
                {
                    "reference_url": "https://www.elastic.co/community/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.elastic.co/community/security"
                },
                {
                    "reference_url": "https://www.elastic.co/community/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.elastic.co/community/security/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1821240",
                    "reference_id": "1821240",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1821240"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gfv5-grx2-9jw2",
                    "reference_id": "GHSA-gfv5-grx2-9jw2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gfv5-grx2-9jw2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80007?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.8.8",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6eke-3z1k-yqfp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.8.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80008?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.6.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6eke-3z1k-yqfp"
                        },
                        {
                            "vulnerability": "VCID-cp76-8sxr-s3fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.6.2"
                }
            ],
            "aliases": [
                "CVE-2020-7009",
                "GHSA-gfv5-grx2-9jw2"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-874a-7avt-6qea"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54200?format=api",
            "vulnerability_id": "VCID-j71w-rzc7-2qgs",
            "summary": "Improper Privilege Management\nThe fix for CVE-2020-7009 was found to be incomplete. Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation flaw if an attacker is able to create API keys and also authentication tokens. An attacker who is able to generate an API key and an authentication token can perform a series of steps that result in an authentication token being generated with elevated privileges.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7014.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7014.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7014",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0042",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62282",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7014"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20200619-0003",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20200619-0003"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20200619-0003/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20200619-0003/"
                },
                {
                    "reference_url": "https://www.elastic.co/community/security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.elastic.co/community/security"
                },
                {
                    "reference_url": "https://www.elastic.co/community/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.elastic.co/community/security/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849019",
                    "reference_id": "1849019",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849019"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7014",
                    "reference_id": "CVE-2020-7014",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7014"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hqqv-9x3v-mp7w",
                    "reference_id": "GHSA-hqqv-9x3v-mp7w",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hqqv-9x3v-mp7w"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80007?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@6.8.8",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6eke-3z1k-yqfp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.8.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80008?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.6.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6eke-3z1k-yqfp"
                        },
                        {
                            "vulnerability": "VCID-cp76-8sxr-s3fz"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.6.2"
                }
            ],
            "aliases": [
                "CVE-2020-7014",
                "GHSA-hqqv-9x3v-mp7w"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "7.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j71w-rzc7-2qgs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@6.8.7"
}