Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/78993?format=api",
    "vulnerability_id": "VCID-tzne-zeeh-wuet",
    "summary": "ruby: heap buffer overflow in the Psych::Emitter start_document function",
    "aliases": [
        {
            "alias": "CVE-2016-2338"
        },
        {
            "alias": "GHSA-r46x-xjwr-8v2g"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/130664?format=api",
            "purl": "pkg:ruby/ruby@2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1cad-uybu-2uau"
                },
                {
                    "vulnerability": "VCID-91b7-xx8t-rqhr"
                },
                {
                    "vulnerability": "VCID-bad1-7aa4-cugv"
                },
                {
                    "vulnerability": "VCID-beub-d11r-nbe4"
                },
                {
                    "vulnerability": "VCID-c3y8-w4b4-3qea"
                },
                {
                    "vulnerability": "VCID-fapg-pt6b-rfb2"
                },
                {
                    "vulnerability": "VCID-kamp-zmtx-aqbz"
                },
                {
                    "vulnerability": "VCID-qyz5-zmnt-qucy"
                },
                {
                    "vulnerability": "VCID-rdme-1q3s-43d8"
                },
                {
                    "vulnerability": "VCID-sf98-mryd-yfb3"
                },
                {
                    "vulnerability": "VCID-tzne-zeeh-wuet"
                },
                {
                    "vulnerability": "VCID-xkd6-jvma-skfk"
                },
                {
                    "vulnerability": "VCID-y29u-wpkt-rkgp"
                },
                {
                    "vulnerability": "VCID-zwxw-299r-wfgx"
                },
                {
                    "vulnerability": "VCID-zybm-uuxu-67gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ruby/ruby@2.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-2338.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-2338.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2338",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94164",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94268",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94245",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94256",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94262",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94173",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94185",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94187",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94197",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94201",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94206",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94221",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94227",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9423",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.13462",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94234",
                    "published_at": "2026-05-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2338"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2338",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2338"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2133689",
            "reference_id": "2133689",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2133689"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "8.2 - 9.8",
    "exploitability": "0.5",
    "weighted_severity": "8.8",
    "risk_score": 4.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tzne-zeeh-wuet"
}