Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44622?format=api",
    "vulnerability_id": "VCID-2mte-5ys1-ekbc",
    "summary": "Incorrect Authorization\nOpenSearch is a community-driven, open source fork of Elasticsearch and Kibana. There is an issue with the implementation of fine-grained access control rules (document-level security, field-level security and field masking) where they are not correctly applied to the indices that back data streams potentially leading to incorrect access authorization. OpenSearch 1.3.7 and 2.4.0 contain a fix for this issue. Users are advised to update. There are no known workarounds for this issue.",
    "aliases": [
        {
            "alias": "CVE-2022-41918"
        },
        {
            "alias": "GHSA-wmx7-x4jp-9jgg"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/121173?format=api",
            "purl": "pkg:deb/debian/opensearch@0?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/opensearch@0%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/121172?format=api",
            "purl": "pkg:deb/debian/opensearch@2.4.1%2Bdfsg-2?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/opensearch@2.4.1%252Bdfsg-2%3Fdistro=sid"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/595562?format=api",
            "purl": "pkg:gem/opensearch@0.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2mte-5ys1-ekbc"
                },
                {
                    "vulnerability": "VCID-4bcd-g1mw-43fq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/opensearch@0.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63816?format=api",
            "purl": "pkg:gem/opensearch@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2mte-5ys1-ekbc"
                },
                {
                    "vulnerability": "VCID-6gt7-yexx-g7hx"
                },
                {
                    "vulnerability": "VCID-bf8j-s11d-4kd8"
                },
                {
                    "vulnerability": "VCID-fyj4-m2xs-p7hg"
                },
                {
                    "vulnerability": "VCID-raza-j6bt-n3d8"
                },
                {
                    "vulnerability": "VCID-s1m1-46b8-4bd6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/opensearch@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63678?format=api",
            "purl": "pkg:maven/org.opensearch.plugin/opensearch-security@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2mte-5ys1-ekbc"
                },
                {
                    "vulnerability": "VCID-bf8j-s11d-4kd8"
                },
                {
                    "vulnerability": "VCID-fyj4-m2xs-p7hg"
                },
                {
                    "vulnerability": "VCID-h5a8-k6c9-4feh"
                },
                {
                    "vulnerability": "VCID-uatf-rx34-bfh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.opensearch.plugin/opensearch-security@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-41918",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.002",
                    "scoring_system": "epss",
                    "scoring_elements": "0.42001",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.002",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41926",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-41918"
        },
        {
            "reference_url": "https://github.com/opensearch-project/security",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/opensearch-project/security"
        },
        {
            "reference_url": "https://github.com/opensearch-project/security/commit/f7cc569c9d3fa5d5432c76c854eed280d45ce6f4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "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/2025-04-23T13:54:27Z/"
                }
            ],
            "url": "https://github.com/opensearch-project/security/commit/f7cc569c9d3fa5d5432c76c854eed280d45ce6f4"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-41918",
            "reference_id": "CVE-2022-41918",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-41918"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-wmx7-x4jp-9jgg",
            "reference_id": "GHSA-wmx7-x4jp-9jgg",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-wmx7-x4jp-9jgg"
        },
        {
            "reference_url": "https://github.com/opensearch-project/security/security/advisories/GHSA-wmx7-x4jp-9jgg",
            "reference_id": "GHSA-wmx7-x4jp-9jgg",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "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/2025-04-23T13:54:27Z/"
                }
            ],
            "url": "https://github.com/opensearch-project/security/security/advisories/GHSA-wmx7-x4jp-9jgg"
        }
    ],
    "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": 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": 612,
            "name": "Improper Authorization of Index Containing Sensitive Information",
            "description": "The product creates a search index of private or sensitive documents, but it does not properly limit index access to actors who are authorized to see the original information."
        }
    ],
    "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-2mte-5ys1-ekbc"
}