Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16384?format=api",
    "vulnerability_id": "VCID-cn44-fsrw-kudb",
    "summary": "Improper Input Validation\nA flaw (CVE-2022-38900) was discovered in one of Kibana’s third party dependencies, that could allow an authenticated user to perform a request that crashes the Kibana server process.",
    "aliases": [
        {
            "alias": "CVE-2022-38778"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55810?format=api",
            "purl": "pkg:npm/decode-uri-component@0.2.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/decode-uri-component@0.2.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/355382?format=api",
            "purl": "pkg:npm/decode-uri-component@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cn44-fsrw-kudb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/decode-uri-component@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/343179?format=api",
            "purl": "pkg:npm/decode-uri-component@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-532v-5mum-qkdf"
                },
                {
                    "vulnerability": "VCID-cn44-fsrw-kudb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/decode-uri-component@0.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-38778.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:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-38778.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-38778",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59652",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59677",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59658",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59691",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59699",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59683",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59616",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59641",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5961",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59661",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59674",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00384",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59694",
                    "published_at": "2026-04-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-38778"
        },
        {
            "reference_url": "https://discuss.elastic.co/t/elastic-7-17-9-8-5-0-and-8-6-1-security-update/324661",
            "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:N/I:N/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-25T14:20:20Z/"
                }
            ],
            "url": "https://discuss.elastic.co/t/elastic-7-17-9-8-5-0-and-8-6-1-security-update/324661"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "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:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.elastic.co/community/security",
            "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:N/I:N/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-03-25T14:20:20Z/"
                }
            ],
            "url": "https://www.elastic.co/community/security"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2172350",
            "reference_id": "2172350",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2172350"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38778",
            "reference_id": "CVE-2022-38778",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38778"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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": "6.5 - 6.5",
    "exploitability": "0.5",
    "weighted_severity": "5.9",
    "risk_score": 3.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cn44-fsrw-kudb"
}