Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/86922?format=api",
    "vulnerability_id": "VCID-kvmv-9j78-qyfd",
    "summary": "JDK: getDeclaredMethods() and setAccessible() code execution",
    "aliases": [
        {
            "alias": "CVE-2012-4821"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/124843?format=api",
            "purl": "pkg:rpm/redhat/java-1.7.0-ibm@1:1.7.0.3.0-1jpp.2?arch=el6_3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2uzz-8f2r-yke6"
                },
                {
                    "vulnerability": "VCID-4bm5-d5d1-gfem"
                },
                {
                    "vulnerability": "VCID-5fdv-qzac-n7h4"
                },
                {
                    "vulnerability": "VCID-61yv-hp28-k3a6"
                },
                {
                    "vulnerability": "VCID-67w9-dry7-ybcx"
                },
                {
                    "vulnerability": "VCID-6mtv-ft8u-q3c6"
                },
                {
                    "vulnerability": "VCID-7cvu-7n2n-yfcd"
                },
                {
                    "vulnerability": "VCID-a21v-fxys-5khy"
                },
                {
                    "vulnerability": "VCID-afac-ub77-k7c6"
                },
                {
                    "vulnerability": "VCID-b7ae-xzrv-3qga"
                },
                {
                    "vulnerability": "VCID-cg19-degh-gbck"
                },
                {
                    "vulnerability": "VCID-hc5d-2ygd-pqb3"
                },
                {
                    "vulnerability": "VCID-hfru-xr8y-efcs"
                },
                {
                    "vulnerability": "VCID-j9w1-znfd-ubh1"
                },
                {
                    "vulnerability": "VCID-jpam-uapv-tfch"
                },
                {
                    "vulnerability": "VCID-jwhg-5nwu-yfb5"
                },
                {
                    "vulnerability": "VCID-kvmv-9j78-qyfd"
                },
                {
                    "vulnerability": "VCID-m5sv-6fpk-2kfr"
                },
                {
                    "vulnerability": "VCID-pshs-rsdz-cufm"
                },
                {
                    "vulnerability": "VCID-q12q-umtv-pyb4"
                },
                {
                    "vulnerability": "VCID-qn9t-vaqg-tkf8"
                },
                {
                    "vulnerability": "VCID-r3tj-qpxn-dya5"
                },
                {
                    "vulnerability": "VCID-rtwm-wfwt-c3ez"
                },
                {
                    "vulnerability": "VCID-segq-g5me-tfds"
                },
                {
                    "vulnerability": "VCID-t653-gwcf-4bfp"
                },
                {
                    "vulnerability": "VCID-tt7k-yzuf-9bc4"
                },
                {
                    "vulnerability": "VCID-uu8k-h28e-wygf"
                },
                {
                    "vulnerability": "VCID-wq9n-kz7d-4ued"
                },
                {
                    "vulnerability": "VCID-x4b6-868b-gbbh"
                },
                {
                    "vulnerability": "VCID-xtbz-97wf-hudp"
                },
                {
                    "vulnerability": "VCID-zed9-s11h-f3bz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/java-1.7.0-ibm@1:1.7.0.3.0-1jpp.2%3Farch=el6_3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-4821.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-4821.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4821",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89676",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89679",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89693",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89695",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89712",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89718",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89726",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89724",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89733",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89734",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89729",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89744",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89746",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89745",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89757",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89772",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89782",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89778",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89787",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.05007",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89806",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4821"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=876387",
            "reference_id": "876387",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=876387"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:1467",
            "reference_id": "RHSA-2012:1467",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:1467"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kvmv-9j78-qyfd"
}