Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18840?format=api",
    "vulnerability_id": "VCID-5tbd-y3w9-2qf2",
    "summary": "Improper Control of Generation of Code ('Code Injection')\nAn attacker is able to gain remote code execution on a server hosting the H2O dashboard through it's POJO model import feature.",
    "aliases": [
        {
            "alias": "CVE-2023-6016"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66589?format=api",
            "purl": "pkg:maven/ai.h2o/h2o-core@None",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3efh-977a-3kcc"
                },
                {
                    "vulnerability": "VCID-5tbd-y3w9-2qf2"
                },
                {
                    "vulnerability": "VCID-hn24-c4ke-b3bx"
                },
                {
                    "vulnerability": "VCID-rq23-bb5q-sug7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/ai.h2o/h2o-core@None"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-6016",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.68243",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98622",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-6016"
        },
        {
            "reference_url": "https://huntr.com/bounties/83dd17ec-053e-453c-befb-7d6736bf1836",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.com/bounties/83dd17ec-053e-453c-befb-7d6736bf1836"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6016",
            "reference_id": "CVE-2023-6016",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6016"
        }
    ],
    "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": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.6",
    "risk_score": 0.3,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5tbd-y3w9-2qf2"
}