Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42576?format=api",
    "vulnerability_id": "VCID-4kx9-b641-87hu",
    "summary": "Elasticsearch privilege escalation issue\nA flaw was discovered in Elasticsearch 7.17.0’s upgrade assistant, in which upgrading from version 6.x to 7.x would disable the in-built protections on the security index, allowing authenticated users with “*” index permissions access to this index.",
    "aliases": [
        {
            "alias": "CVE-2022-23708"
        },
        {
            "alias": "GHSA-pgq6-ccqj-hpqr"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60899?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.17.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-4vqq-r29t-aba3"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-dznq-6wd1-fqf8"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.17.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60898?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-4kx9-b641-87hu"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-5h57-66jn-63ab"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.16.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/560793?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.16.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-4kx9-b641-87hu"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-5h57-66jn-63ab"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.16.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/560794?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.16.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-4kx9-b641-87hu"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-5h57-66jn-63ab"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.16.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/560795?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.16.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-4kx9-b641-87hu"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-5h57-66jn-63ab"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.16.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84760?format=api",
            "purl": "pkg:maven/org.elasticsearch/elasticsearch@7.17.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2a5m-mwus-6khv"
                },
                {
                    "vulnerability": "VCID-2dh7-uz4v-m7by"
                },
                {
                    "vulnerability": "VCID-2md6-nqhd-uud1"
                },
                {
                    "vulnerability": "VCID-4kx9-b641-87hu"
                },
                {
                    "vulnerability": "VCID-4vqq-r29t-aba3"
                },
                {
                    "vulnerability": "VCID-4vxx-vbrq-qffw"
                },
                {
                    "vulnerability": "VCID-5h57-66jn-63ab"
                },
                {
                    "vulnerability": "VCID-81b9-8s1p-jfhu"
                },
                {
                    "vulnerability": "VCID-dznq-6wd1-fqf8"
                },
                {
                    "vulnerability": "VCID-jauz-t6az-2yer"
                },
                {
                    "vulnerability": "VCID-mq5y-672j-t3eb"
                },
                {
                    "vulnerability": "VCID-n2gb-4wdb-kqdf"
                },
                {
                    "vulnerability": "VCID-pb37-mn1e-afg2"
                },
                {
                    "vulnerability": "VCID-wgz4-ubu8-zbhu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@7.17.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23708.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-23708.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-23708",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48011",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.47944",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.00245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.48007",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-23708"
        },
        {
            "reference_url": "https://discuss.elastic.co/t/elastic-stack-7-17-1-security-update/298447",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.elastic.co/t/elastic-stack-7-17-1-security-update/298447"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20220729-0003",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20220729-0003"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20220729-0003/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20220729-0003/"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2066385",
            "reference_id": "2066385",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2066385"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23708",
            "reference_id": "CVE-2022-23708",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23708"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-pgq6-ccqj-hpqr",
            "reference_id": "GHSA-pgq6-ccqj-hpqr",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-pgq6-ccqj-hpqr"
        }
    ],
    "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": 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": 273,
            "name": "Improper Check for Dropped Privileges",
            "description": "The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded."
        },
        {
            "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."
        }
    ],
    "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-4kx9-b641-87hu"
}