Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56359?format=api",
    "vulnerability_id": "VCID-d3wu-97na-8qf1",
    "summary": "Elasticsearch Incorrect Authorization vulnerability\nAn issue was discovered where improper authorization controls affected certain queries that could allow a malicious actor to circumvent Document Level Security in Elasticsearch and get access to documents that their roles would normally not allow.",
    "aliases": [
        {
            "alias": "CVE-2024-12539"
        },
        {
            "alias": "GHSA-5mpw-4546-2wcr"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83553?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@8.16.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@8.16.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83552?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@8.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-d3wu-97na-8qf1"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@8.16.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/789731?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@8.16.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-d3wu-97na-8qf1"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@8.16.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-12539.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-12539.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-12539",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00369",
                    "scoring_system": "epss",
                    "scoring_elements": "0.591",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.00369",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5912",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00369",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59124",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00369",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59116",
                    "published_at": "2026-06-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-12539"
        },
        {
            "reference_url": "https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "6.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-12-17T21:23:46Z/"
                }
            ],
            "url": "https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"
        },
        {
            "reference_url": "https://github.com/elastic/elasticsearch",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/elastic/elasticsearch"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2332909",
            "reference_id": "2332909",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2332909"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-12539",
            "reference_id": "CVE-2024-12539",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.0",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-12539"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5mpw-4546-2wcr",
            "reference_id": "GHSA-5mpw-4546-2wcr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5mpw-4546-2wcr"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 863,
            "name": "Incorrect Authorization",
            "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d3wu-97na-8qf1"
}